diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/orgs_github-api-test-org-97471649-6ca0-49b8-90ba-bddae24ab426.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/orgs_github-api-test-org-97471649-6ca0-49b8-90ba-bddae24ab426.json new file mode 100644 index 0000000000..887621a09d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/orgs_github-api-test-org-97471649-6ca0-49b8-90ba-bddae24ab426.json @@ -0,0 +1 @@ +{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","url":"https://api.github.com/orgs/github-api-test-org","repos_url":"https://api.github.com/orgs/github-api-test-org/repos","events_url":"https://api.github.com/orgs/github-api-test-org/events","hooks_url":"https://api.github.com/orgs/github-api-test-org/hooks","issues_url":"https://api.github.com/orgs/github-api-test-org/issues","members_url":"https://api.github.com/orgs/github-api-test-org/members{/member}","public_members_url":"https://api.github.com/orgs/github-api-test-org/public_members{/member}","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","description":null,"is_verified":false,"has_organization_projects":true,"has_repository_projects":true,"public_repos":9,"public_gists":0,"followers":0,"following":0,"html_url":"https://github.com/github-api-test-org","created_at":"2014-05-10T19:39:11Z","updated_at":"2015-04-20T00:42:30Z","type":"Organization","total_private_repos":0,"owned_private_repos":0,"private_gists":0,"disk_usage":132,"collaborators":0,"billing_email":"kk@kohsuke.org","default_repository_permission":"none","members_can_create_repositories":false,"two_factor_requirement_enabled":false,"plan":{"name":"free","space":976562499,"private_repos":0,"filled_seats":3,"seats":0}} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-0387815d-5330-413d-9466-8f79cc8f591a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-0387815d-5330-413d-9466-8f79cc8f591a.json new file mode 100644 index 0000000000..026e8f27c4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-0387815d-5330-413d-9466-8f79cc8f591a.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:43Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-09f9ba8f-febd-4bc3-bb73-74854c05a711.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-09f9ba8f-febd-4bc3-bb73-74854c05a711.json new file mode 100644 index 0000000000..975a09700f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-09f9ba8f-febd-4bc3-bb73-74854c05a711.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:02Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-386e1462-2fe6-4274-bb14-e2ea2ba2a8f3.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-386e1462-2fe6-4274-bb14-e2ea2ba2a8f3.json new file mode 100644 index 0000000000..ad7d35407f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-386e1462-2fe6-4274-bb14-e2ea2ba2a8f3.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"DefaultConnector","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:55Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-402474a6-6dcb-43b9-ab4d-a31a756e24c8.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-402474a6-6dcb-43b9-ab4d-a31a756e24c8.json new file mode 100644 index 0000000000..026e8f27c4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-402474a6-6dcb-43b9-ab4d-a31a756e24c8.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:43Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-462b4438-19c7-41d8-8779-7995510ce897.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-462b4438-19c7-41d8-8779-7995510ce897.json new file mode 100644 index 0000000000..ad7d35407f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-462b4438-19c7-41d8-8779-7995510ce897.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"DefaultConnector","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:55Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-6a720ce3-805e-4199-a292-dd6263e536f5.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-6a720ce3-805e-4199-a292-dd6263e536f5.json new file mode 100644 index 0000000000..026e8f27c4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-6a720ce3-805e-4199-a292-dd6263e536f5.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:43Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-9a367bf8-999b-489e-8a0b-3b6ee93999b2.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-9a367bf8-999b-489e-8a0b-3b6ee93999b2.json new file mode 100644 index 0000000000..026e8f27c4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-9a367bf8-999b-489e-8a0b-3b6ee93999b2.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:43Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-a3d4185c-5f6c-443d-b329-afdbe171feee.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-a3d4185c-5f6c-443d-b329-afdbe171feee.json new file mode 100644 index 0000000000..975a09700f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-a3d4185c-5f6c-443d-b329-afdbe171feee.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:02Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-a44e75ce-6dd4-4066-8640-ba2f30c27a98.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-a44e75ce-6dd4-4066-8640-ba2f30c27a98.json new file mode 100644 index 0000000000..ad7d35407f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-a44e75ce-6dd4-4066-8640-ba2f30c27a98.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"DefaultConnector","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:55Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-b2eadec2-e2af-475c-a128-b3ce2ad60e81.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-b2eadec2-e2af-475c-a128-b3ce2ad60e81.json new file mode 100644 index 0000000000..026e8f27c4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-b2eadec2-e2af-475c-a128-b3ce2ad60e81.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:43Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-b3aecaf6-3656-4093-8a8f-b5c2e87a6101.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-b3aecaf6-3656-4093-8a8f-b5c2e87a6101.json new file mode 100644 index 0000000000..975a09700f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-b3aecaf6-3656-4093-8a8f-b5c2e87a6101.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:02Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-d6283a3b-de7b-4b02-b7ef-53b31b95ea33.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-d6283a3b-de7b-4b02-b7ef-53b31b95ea33.json new file mode 100644 index 0000000000..ad7d35407f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-d6283a3b-de7b-4b02-b7ef-53b31b95ea33.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"DefaultConnector","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:55Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-f1e501cf-8ef8-4d59-963c-65a512ca8c66.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-f1e501cf-8ef8-4d59-963c-65a512ca8c66.json new file mode 100644 index 0000000000..ad7d35407f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-f1e501cf-8ef8-4d59-963c-65a512ca8c66.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"DefaultConnector","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:55Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-fae92d7e-b685-4c06-838a-e3b83039d716.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-fae92d7e-b685-4c06-838a-e3b83039d716.json new file mode 100644 index 0000000000..975a09700f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/repos_github-api-test-org_github-api-fae92d7e-b685-4c06-838a-e3b83039d716.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:02Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/user-8536b1df-9e0c-4828-b3c2-d7520ad4c40f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/user-8536b1df-9e0c-4828-b3c2-d7520ad4c40f.json new file mode 100644 index 0000000000..2c5ba9974d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/__files/user-8536b1df-9e0c-4828-b3c2-d7520ad4c40f.json @@ -0,0 +1 @@ +{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":134,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/orgs_github-api-test-org-97471649-6ca0-49b8-90ba-bddae24ab426.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/orgs_github-api-test-org-97471649-6ca0-49b8-90ba-bddae24ab426.json new file mode 100644 index 0000000000..83402e5f5e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/orgs_github-api-test-org-97471649-6ca0-49b8-90ba-bddae24ab426.json @@ -0,0 +1,40 @@ +{ + "id" : "97471649-6ca0-49b8-90ba-bddae24ab426", + "name" : "orgs_github-api-test-org", + "request" : { + "url" : "/orgs/github-api-test-org", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "orgs_github-api-test-org-97471649-6ca0-49b8-90ba-bddae24ab426.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:48 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4438", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"daa553b1db7b807d5eafb289f3b6b214\"", + "Last-Modified" : "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB12F:96F546:5D79BDFE" + } + }, + "uuid" : "97471649-6ca0-49b8-90ba-bddae24ab426", + "persistent" : true, + "insertionIndex" : 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-0387815d-5330-413d-9466-8f79cc8f591a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-0387815d-5330-413d-9466-8f79cc8f591a.json new file mode 100644 index 0000000000..03f6193e8a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-0387815d-5330-413d-9466-8f79cc8f591a.json @@ -0,0 +1,43 @@ +{ + "id" : "0387815d-5330-413d-9466-8f79cc8f591a", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-0387815d-5330-413d-9466-8f79cc8f591a.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:48 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4437", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"9bb32f14fbd5aaefc472660e108250ed\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:43 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB135:96F63E:5D79BE04" + } + }, + "uuid" : "0387815d-5330-413d-9466-8f79cc8f591a", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-2", + "insertionIndex" : 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-09f9ba8f-febd-4bc3-bb73-74854c05a711.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-09f9ba8f-febd-4bc3-bb73-74854c05a711.json new file mode 100644 index 0000000000..7b23b69c50 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-09f9ba8f-febd-4bc3-bb73-74854c05a711.json @@ -0,0 +1,43 @@ +{ + "id" : "09f9ba8f-febd-4bc3-bb73-74854c05a711", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-09f9ba8f-febd-4bc3-bb73-74854c05a711.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:03 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4425", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"1fcfd569da9ca0318f355477fd053a06\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:02 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB2F0:96F824:5D79BE12" + } + }, + "uuid" : "09f9ba8f-febd-4bc3-bb73-74854c05a711", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-10", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-11", + "insertionIndex" : 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-386e1462-2fe6-4274-bb14-e2ea2ba2a8f3.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-386e1462-2fe6-4274-bb14-e2ea2ba2a8f3.json new file mode 100644 index 0000000000..701188ef3b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-386e1462-2fe6-4274-bb14-e2ea2ba2a8f3.json @@ -0,0 +1,43 @@ +{ + "id" : "386e1462-2fe6-4274-bb14-e2ea2ba2a8f3", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-386e1462-2fe6-4274-bb14-e2ea2ba2a8f3.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:02 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4428", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"f4b70be514eb8da809aa5f2b9ab38d53\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:55 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB2BB:96F770:5D79BE0D" + } + }, + "uuid" : "386e1462-2fe6-4274-bb14-e2ea2ba2a8f3", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-9", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-10", + "insertionIndex" : 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-402474a6-6dcb-43b9-ab4d-a31a756e24c8.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-402474a6-6dcb-43b9-ab4d-a31a756e24c8.json new file mode 100644 index 0000000000..91bf41eb8d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-402474a6-6dcb-43b9-ab4d-a31a756e24c8.json @@ -0,0 +1,43 @@ +{ + "id" : "402474a6-6dcb-43b9-ab4d-a31a756e24c8", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-402474a6-6dcb-43b9-ab4d-a31a756e24c8.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:50 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4434", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"9bb32f14fbd5aaefc472660e108250ed\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:43 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB176:96F66B:5D79BE05" + } + }, + "uuid" : "402474a6-6dcb-43b9-ab4d-a31a756e24c8", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-4", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-5", + "insertionIndex" : 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-462b4438-19c7-41d8-8779-7995510ce897.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-462b4438-19c7-41d8-8779-7995510ce897.json new file mode 100644 index 0000000000..21a67dfbb3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-462b4438-19c7-41d8-8779-7995510ce897.json @@ -0,0 +1,43 @@ +{ + "id" : "462b4438-19c7-41d8-8779-7995510ce897", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-462b4438-19c7-41d8-8779-7995510ce897.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:56 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4430", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"f4b70be514eb8da809aa5f2b9ab38d53\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:55 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB212:96F72B:5D79BE0B" + } + }, + "uuid" : "462b4438-19c7-41d8-8779-7995510ce897", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-7", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-8", + "insertionIndex" : 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-6a720ce3-805e-4199-a292-dd6263e536f5.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-6a720ce3-805e-4199-a292-dd6263e536f5.json new file mode 100644 index 0000000000..445d67477f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-6a720ce3-805e-4199-a292-dd6263e536f5.json @@ -0,0 +1,43 @@ +{ + "id" : "6a720ce3-805e-4199-a292-dd6263e536f5", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-6a720ce3-805e-4199-a292-dd6263e536f5.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:48 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4436", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"9bb32f14fbd5aaefc472660e108250ed\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:43 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB13C:96F646:5D79BE04" + } + }, + "uuid" : "6a720ce3-805e-4199-a292-dd6263e536f5", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-2", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-3", + "insertionIndex" : 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-9a367bf8-999b-489e-8a0b-3b6ee93999b2.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-9a367bf8-999b-489e-8a0b-3b6ee93999b2.json new file mode 100644 index 0000000000..8b49244bf3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-9a367bf8-999b-489e-8a0b-3b6ee93999b2.json @@ -0,0 +1,43 @@ +{ + "id" : "9a367bf8-999b-489e-8a0b-3b6ee93999b2", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-9a367bf8-999b-489e-8a0b-3b6ee93999b2.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:55 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4433", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"9bb32f14fbd5aaefc472660e108250ed\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:43 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB1E4:96F694:5D79BE06" + } + }, + "uuid" : "9a367bf8-999b-489e-8a0b-3b6ee93999b2", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-5", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-6", + "insertionIndex" : 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-a3d4185c-5f6c-443d-b329-afdbe171feee.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-a3d4185c-5f6c-443d-b329-afdbe171feee.json new file mode 100644 index 0000000000..4b9050be0a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-a3d4185c-5f6c-443d-b329-afdbe171feee.json @@ -0,0 +1,42 @@ +{ + "id" : "a3d4185c-5f6c-443d-b329-afdbe171feee", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-a3d4185c-5f6c-443d-b329-afdbe171feee.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:09 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4422", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"1fcfd569da9ca0318f355477fd053a06\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:02 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB41C:96F8D6:5D79BE15" + } + }, + "uuid" : "a3d4185c-5f6c-443d-b329-afdbe171feee", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-13", + "insertionIndex" : 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-a44e75ce-6dd4-4066-8640-ba2f30c27a98.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-a44e75ce-6dd4-4066-8640-ba2f30c27a98.json new file mode 100644 index 0000000000..86e1384c7b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-a44e75ce-6dd4-4066-8640-ba2f30c27a98.json @@ -0,0 +1,43 @@ +{ + "id" : "a44e75ce-6dd4-4066-8640-ba2f30c27a98", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-a44e75ce-6dd4-4066-8640-ba2f30c27a98.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:57 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4429", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"f4b70be514eb8da809aa5f2b9ab38d53\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:55 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB232:96F750:5D79BE0C" + } + }, + "uuid" : "a44e75ce-6dd4-4066-8640-ba2f30c27a98", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-8", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-9", + "insertionIndex" : 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-b2eadec2-e2af-475c-a128-b3ce2ad60e81.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-b2eadec2-e2af-475c-a128-b3ce2ad60e81.json new file mode 100644 index 0000000000..24acdcca30 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-b2eadec2-e2af-475c-a128-b3ce2ad60e81.json @@ -0,0 +1,43 @@ +{ + "id" : "b2eadec2-e2af-475c-a128-b3ce2ad60e81", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-b2eadec2-e2af-475c-a128-b3ce2ad60e81.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:49 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4435", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"9bb32f14fbd5aaefc472660e108250ed\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:43 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB153:96F64C:5D79BE04" + } + }, + "uuid" : "b2eadec2-e2af-475c-a128-b3ce2ad60e81", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-3", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-4", + "insertionIndex" : 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-b3aecaf6-3656-4093-8a8f-b5c2e87a6101.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-b3aecaf6-3656-4093-8a8f-b5c2e87a6101.json new file mode 100644 index 0000000000..475364f101 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-b3aecaf6-3656-4093-8a8f-b5c2e87a6101.json @@ -0,0 +1,43 @@ +{ + "id" : "b3aecaf6-3656-4093-8a8f-b5c2e87a6101", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-b3aecaf6-3656-4093-8a8f-b5c2e87a6101.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:03 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4424", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"1fcfd569da9ca0318f355477fd053a06\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:02 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB31D:96F85A:5D79BE13" + } + }, + "uuid" : "b3aecaf6-3656-4093-8a8f-b5c2e87a6101", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-11", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-12", + "insertionIndex" : 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-d6283a3b-de7b-4b02-b7ef-53b31b95ea33.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-d6283a3b-de7b-4b02-b7ef-53b31b95ea33.json new file mode 100644 index 0000000000..f711d07820 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-d6283a3b-de7b-4b02-b7ef-53b31b95ea33.json @@ -0,0 +1,44 @@ +{ + "id" : "d6283a3b-de7b-4b02-b7ef-53b31b95ea33", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "PATCH", + "bodyPatterns" : [ { + "equalToJson" : "{\"name\":\"github-api\",\"description\":\"DefaultConnector\"}", + "ignoreArrayOrder" : true, + "ignoreExtraElements" : true + } ] + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-d6283a3b-de7b-4b02-b7ef-53b31b95ea33.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:55 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4432", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"f4b70be514eb8da809aa5f2b9ab38d53\"", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB1ED:96F715:5D79BE0B" + } + }, + "uuid" : "d6283a3b-de7b-4b02-b7ef-53b31b95ea33", + "persistent" : true, + "insertionIndex" : 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-f1e501cf-8ef8-4d59-963c-65a512ca8c66.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-f1e501cf-8ef8-4d59-963c-65a512ca8c66.json new file mode 100644 index 0000000000..3267c6d7cd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-f1e501cf-8ef8-4d59-963c-65a512ca8c66.json @@ -0,0 +1,43 @@ +{ + "id" : "f1e501cf-8ef8-4d59-963c-65a512ca8c66", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-f1e501cf-8ef8-4d59-963c-65a512ca8c66.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:55 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4431", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"f4b70be514eb8da809aa5f2b9ab38d53\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:55 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB1F6:96F721:5D79BE0B" + } + }, + "uuid" : "f1e501cf-8ef8-4d59-963c-65a512ca8c66", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-6", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-7", + "insertionIndex" : 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-fae92d7e-b685-4c06-838a-e3b83039d716.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-fae92d7e-b685-4c06-838a-e3b83039d716.json new file mode 100644 index 0000000000..144ca2f7d1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/repos_github-api-test-org_github-api-fae92d7e-b685-4c06-838a-e3b83039d716.json @@ -0,0 +1,43 @@ +{ + "id" : "fae92d7e-b685-4c06-838a-e3b83039d716", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-fae92d7e-b685-4c06-838a-e3b83039d716.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:05 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4423", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"1fcfd569da9ca0318f355477fd053a06\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:02 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB35D:96F883:5D79BE13" + } + }, + "uuid" : "fae92d7e-b685-4c06-838a-e3b83039d716", + "persistent" : true, + "scenarioName" : "scenario-1-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-1-repos-github-api-test-org-github-api-12", + "newScenarioState" : "scenario-1-repos-github-api-test-org-github-api-13", + "insertionIndex" : 15 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/user-8536b1df-9e0c-4828-b3c2-d7520ad4c40f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/user-8536b1df-9e0c-4828-b3c2-d7520ad4c40f.json new file mode 100644 index 0000000000..d8713f6e8f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/DefaultConnector/mappings/user-8536b1df-9e0c-4828-b3c2-d7520ad4c40f.json @@ -0,0 +1,40 @@ +{ + "id" : "8536b1df-9e0c-4828-b3c2-d7520ad4c40f", + "name" : "user", + "request" : { + "url" : "/user", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "user-8536b1df-9e0c-4828-b3c2-d7520ad4c40f.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:42 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4443", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"52487579041efc761c616391d6231837\"", + "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F344:3559:7FB060:96F540:5D79BDFE" + } + }, + "uuid" : "8536b1df-9e0c-4828-b3c2-d7520ad4c40f", + "persistent" : true, + "insertionIndex" : 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/orgs_github-api-test-org-63da84e5-7349-46ec-a9e1-39b263d7a467.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/orgs_github-api-test-org-63da84e5-7349-46ec-a9e1-39b263d7a467.json new file mode 100644 index 0000000000..887621a09d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/orgs_github-api-test-org-63da84e5-7349-46ec-a9e1-39b263d7a467.json @@ -0,0 +1 @@ +{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","url":"https://api.github.com/orgs/github-api-test-org","repos_url":"https://api.github.com/orgs/github-api-test-org/repos","events_url":"https://api.github.com/orgs/github-api-test-org/events","hooks_url":"https://api.github.com/orgs/github-api-test-org/hooks","issues_url":"https://api.github.com/orgs/github-api-test-org/issues","members_url":"https://api.github.com/orgs/github-api-test-org/members{/member}","public_members_url":"https://api.github.com/orgs/github-api-test-org/public_members{/member}","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","description":null,"is_verified":false,"has_organization_projects":true,"has_repository_projects":true,"public_repos":9,"public_gists":0,"followers":0,"following":0,"html_url":"https://github.com/github-api-test-org","created_at":"2014-05-10T19:39:11Z","updated_at":"2015-04-20T00:42:30Z","type":"Organization","total_private_repos":0,"owned_private_repos":0,"private_gists":0,"disk_usage":132,"collaborators":0,"billing_email":"kk@kohsuke.org","default_repository_permission":"none","members_can_create_repositories":false,"two_factor_requirement_enabled":false,"plan":{"name":"free","space":976562499,"private_repos":0,"filled_seats":3,"seats":0}} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-28e91e8d-8384-4593-9e06-f25ffeb08ec1.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-28e91e8d-8384-4593-9e06-f25ffeb08ec1.json new file mode 100644 index 0000000000..4d50c165fb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-28e91e8d-8384-4593-9e06-f25ffeb08ec1.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:35Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-2dad80eb-549b-4543-846d-d5e656dd9a90.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-2dad80eb-549b-4543-846d-d5e656dd9a90.json new file mode 100644 index 0000000000..ed786f4467 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-2dad80eb-549b-4543-846d-d5e656dd9a90.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_Cache_MaxAgeDefault_Zero","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:28Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-6b82a8d1-bf42-41c2-a451-cbacde7c7d87.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-6b82a8d1-bf42-41c2-a451-cbacde7c7d87.json new file mode 100644 index 0000000000..ed786f4467 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-6b82a8d1-bf42-41c2-a451-cbacde7c7d87.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_Cache_MaxAgeDefault_Zero","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:28Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-f47c1f54-4332-4164-8a6b-0c91adab7633.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-f47c1f54-4332-4164-8a6b-0c91adab7633.json new file mode 100644 index 0000000000..7f14c1fb9e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/repos_github-api-test-org_github-api-f47c1f54-4332-4164-8a6b-0c91adab7633.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:16Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-68b0793a-ea08-46c7-9d69-a547a82e84b2.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-68b0793a-ea08-46c7-9d69-a547a82e84b2.json new file mode 100644 index 0000000000..2c5ba9974d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-68b0793a-ea08-46c7-9d69-a547a82e84b2.json @@ -0,0 +1 @@ +{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":134,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-edf7f43f-7b56-4709-ab58-d01dfd22fdff.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-edf7f43f-7b56-4709-ab58-d01dfd22fdff.json new file mode 100644 index 0000000000..2c5ba9974d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/__files/user-edf7f43f-7b56-4709-ab58-d01dfd22fdff.json @@ -0,0 +1 @@ +{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":134,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/orgs_github-api-test-org-63da84e5-7349-46ec-a9e1-39b263d7a467.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/orgs_github-api-test-org-63da84e5-7349-46ec-a9e1-39b263d7a467.json new file mode 100644 index 0000000000..d586c16762 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/orgs_github-api-test-org-63da84e5-7349-46ec-a9e1-39b263d7a467.json @@ -0,0 +1,40 @@ +{ + "id" : "63da84e5-7349-46ec-a9e1-39b263d7a467", + "name" : "orgs_github-api-test-org", + "request" : { + "url" : "/orgs/github-api-test-org", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "orgs_github-api-test-org-63da84e5-7349-46ec-a9e1-39b263d7a467.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:21 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4450", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"ab2c566dc8a17d041f948a563e2387f0\"", + "Last-Modified" : "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841AF6:9BAAC5:5D79BDE9" + } + }, + "uuid" : "63da84e5-7349-46ec-a9e1-39b263d7a467", + "persistent" : true, + "insertionIndex" : 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-0c83e2e3-58c9-4d9d-92ba-7b5f50ea3456.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-0c83e2e3-58c9-4d9d-92ba-7b5f50ea3456.json new file mode 100644 index 0000000000..0e200daa51 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-0c83e2e3-58c9-4d9d-92ba-7b5f50ea3456.json @@ -0,0 +1,41 @@ +{ + "id" : "0c83e2e3-58c9-4d9d-92ba-7b5f50ea3456", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "W/\"02ced6aa965b2cbeaad1e035e55aa75b\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:29 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4447", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"02ced6aa965b2cbeaad1e035e55aa75b\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:28 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841C56:9BAC43:5D79BDF0" + } + }, + "uuid" : "0c83e2e3-58c9-4d9d-92ba-7b5f50ea3456", + "persistent" : true, + "insertionIndex" : 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-10f2841d-067d-45ee-b765-e0fc71e1daf5.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-10f2841d-067d-45ee-b765-e0fc71e1daf5.json new file mode 100644 index 0000000000..0c758ecc76 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-10f2841d-067d-45ee-b765-e0fc71e1daf5.json @@ -0,0 +1,44 @@ +{ + "id" : "10f2841d-067d-45ee-b765-e0fc71e1daf5", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "\"02ced6aa965b2cbeaad1e035e55aa75b\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:30 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4447", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"02ced6aa965b2cbeaad1e035e55aa75b\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:28 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841C92:9BAC5D:5D79BDF1" + } + }, + "uuid" : "10f2841d-067d-45ee-b765-e0fc71e1daf5", + "persistent" : true, + "scenarioName" : "scenario-4-repos-github-api-test-org-github-api", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-4-repos-github-api-test-org-github-api-2", + "insertionIndex" : 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-28e91e8d-8384-4593-9e06-f25ffeb08ec1.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-28e91e8d-8384-4593-9e06-f25ffeb08ec1.json new file mode 100644 index 0000000000..d4aa8efa23 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-28e91e8d-8384-4593-9e06-f25ffeb08ec1.json @@ -0,0 +1,47 @@ +{ + "id" : "28e91e8d-8384-4593-9e06-f25ffeb08ec1", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "\"02ced6aa965b2cbeaad1e035e55aa75b\"" + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-28e91e8d-8384-4593-9e06-f25ffeb08ec1.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:35 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4444", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"b37e731cda50a445d1ab535a24d40c96\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:35 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841D87:9BADA1:5D79BDF7" + } + }, + "uuid" : "28e91e8d-8384-4593-9e06-f25ffeb08ec1", + "persistent" : true, + "scenarioName" : "scenario-4-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-4-repos-github-api-test-org-github-api-3", + "insertionIndex" : 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-2dad80eb-549b-4543-846d-d5e656dd9a90.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-2dad80eb-549b-4543-846d-d5e656dd9a90.json new file mode 100644 index 0000000000..be46cdac6f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-2dad80eb-549b-4543-846d-d5e656dd9a90.json @@ -0,0 +1,44 @@ +{ + "id" : "2dad80eb-549b-4543-846d-d5e656dd9a90", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "PATCH", + "bodyPatterns" : [ { + "equalToJson" : "{\"name\":\"github-api\",\"description\":\"OkHttpConnector_Cache_MaxAgeDefault_Zero\"}", + "ignoreArrayOrder" : true, + "ignoreExtraElements" : true + } ] + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-2dad80eb-549b-4543-846d-d5e656dd9a90.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:28 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4448", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"02ced6aa965b2cbeaad1e035e55aa75b\"", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841C34:9BAC2E:5D79BDF0" + } + }, + "uuid" : "2dad80eb-549b-4543-846d-d5e656dd9a90", + "persistent" : true, + "insertionIndex" : 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-5dfa69db-b932-4517-8897-665913e52744.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-5dfa69db-b932-4517-8897-665913e52744.json new file mode 100644 index 0000000000..4bce13338a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-5dfa69db-b932-4517-8897-665913e52744.json @@ -0,0 +1,41 @@ +{ + "id" : "5dfa69db-b932-4517-8897-665913e52744", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "W/\"b37e731cda50a445d1ab535a24d40c96\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:36 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4444", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"b37e731cda50a445d1ab535a24d40c96\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:35 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841DA8:9BADC6:5D79BDF7" + } + }, + "uuid" : "5dfa69db-b932-4517-8897-665913e52744", + "persistent" : true, + "insertionIndex" : 15 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-6062e612-844e-45a2-9b3a-a063949de9f7.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-6062e612-844e-45a2-9b3a-a063949de9f7.json new file mode 100644 index 0000000000..d4df424311 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-6062e612-844e-45a2-9b3a-a063949de9f7.json @@ -0,0 +1,44 @@ +{ + "id" : "6062e612-844e-45a2-9b3a-a063949de9f7", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "\"02ced6aa965b2cbeaad1e035e55aa75b\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:35 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4447", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"02ced6aa965b2cbeaad1e035e55aa75b\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:28 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841D69:9BACA8:5D79BDF2" + } + }, + "uuid" : "6062e612-844e-45a2-9b3a-a063949de9f7", + "persistent" : true, + "scenarioName" : "scenario-4-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-4-repos-github-api-test-org-github-api-2", + "newScenarioState" : "scenario-4-repos-github-api-test-org-github-api-3", + "insertionIndex" : 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-6b82a8d1-bf42-41c2-a451-cbacde7c7d87.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-6b82a8d1-bf42-41c2-a451-cbacde7c7d87.json new file mode 100644 index 0000000000..f060454cfe --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-6b82a8d1-bf42-41c2-a451-cbacde7c7d87.json @@ -0,0 +1,42 @@ +{ + "id" : "6b82a8d1-bf42-41c2-a451-cbacde7c7d87", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-6b82a8d1-bf42-41c2-a451-cbacde7c7d87.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:28 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4447", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"02ced6aa965b2cbeaad1e035e55aa75b\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:28 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841C41:9BAC3A:5D79BDF0" + } + }, + "uuid" : "6b82a8d1-bf42-41c2-a451-cbacde7c7d87", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-2", + "insertionIndex" : 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-7b79e7c7-188e-4379-8ff9-60620f54d7fa.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-7b79e7c7-188e-4379-8ff9-60620f54d7fa.json new file mode 100644 index 0000000000..8de1be237e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-7b79e7c7-188e-4379-8ff9-60620f54d7fa.json @@ -0,0 +1,41 @@ +{ + "id" : "7b79e7c7-188e-4379-8ff9-60620f54d7fa", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "W/\"72a2aee890bb21d6d71757e65f350895\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:22 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4449", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"72a2aee890bb21d6d71757e65f350895\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:16 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841B11:9BAADB:5D79BDE9" + } + }, + "uuid" : "7b79e7c7-188e-4379-8ff9-60620f54d7fa", + "persistent" : true, + "insertionIndex" : 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-822ecc03-03a9-4b1c-b903-9eacd463794e.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-822ecc03-03a9-4b1c-b903-9eacd463794e.json new file mode 100644 index 0000000000..9789233380 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-822ecc03-03a9-4b1c-b903-9eacd463794e.json @@ -0,0 +1,44 @@ +{ + "id" : "822ecc03-03a9-4b1c-b903-9eacd463794e", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "\"b37e731cda50a445d1ab535a24d40c96\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:37 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4444", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"b37e731cda50a445d1ab535a24d40c96\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:35 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841DDC:9BADEC:5D79BDF8" + } + }, + "uuid" : "822ecc03-03a9-4b1c-b903-9eacd463794e", + "persistent" : true, + "scenarioName" : "scenario-5-repos-github-api-test-org-github-api", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-5-repos-github-api-test-org-github-api-2", + "insertionIndex" : 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-8ab3eefc-43c7-4579-9b47-3728bd8f598f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-8ab3eefc-43c7-4579-9b47-3728bd8f598f.json new file mode 100644 index 0000000000..d8701a9e2e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-8ab3eefc-43c7-4579-9b47-3728bd8f598f.json @@ -0,0 +1,43 @@ +{ + "id" : "8ab3eefc-43c7-4579-9b47-3728bd8f598f", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "\"72a2aee890bb21d6d71757e65f350895\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:28 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4449", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"72a2aee890bb21d6d71757e65f350895\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:16 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841C2E:9BAB54:5D79BDEC" + } + }, + "uuid" : "8ab3eefc-43c7-4579-9b47-3728bd8f598f", + "persistent" : true, + "scenarioName" : "scenario-3-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-3-repos-github-api-test-org-github-api-3", + "insertionIndex" : 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-8fbf674f-5ece-4fd9-900f-c0cdbb1dc6d6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-8fbf674f-5ece-4fd9-900f-c0cdbb1dc6d6.json new file mode 100644 index 0000000000..ac71b48a1f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-8fbf674f-5ece-4fd9-900f-c0cdbb1dc6d6.json @@ -0,0 +1,44 @@ +{ + "id" : "8fbf674f-5ece-4fd9-900f-c0cdbb1dc6d6", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "\"72a2aee890bb21d6d71757e65f350895\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:22 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4449", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"72a2aee890bb21d6d71757e65f350895\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:16 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841B31:9BAAE8:5D79BDEA" + } + }, + "uuid" : "8fbf674f-5ece-4fd9-900f-c0cdbb1dc6d6", + "persistent" : true, + "scenarioName" : "scenario-3-repos-github-api-test-org-github-api", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-3-repos-github-api-test-org-github-api-2", + "insertionIndex" : 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-9aa361fa-0537-449b-a488-ef57a62846b1.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-9aa361fa-0537-449b-a488-ef57a62846b1.json new file mode 100644 index 0000000000..d3ebc8edb4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-9aa361fa-0537-449b-a488-ef57a62846b1.json @@ -0,0 +1,44 @@ +{ + "id" : "9aa361fa-0537-449b-a488-ef57a62846b1", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "\"72a2aee890bb21d6d71757e65f350895\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:24 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4449", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"72a2aee890bb21d6d71757e65f350895\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:16 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841B6A:9BAB12:5D79BDEA" + } + }, + "uuid" : "9aa361fa-0537-449b-a488-ef57a62846b1", + "persistent" : true, + "scenarioName" : "scenario-3-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-3-repos-github-api-test-org-github-api-2", + "newScenarioState" : "scenario-3-repos-github-api-test-org-github-api-3", + "insertionIndex" : 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-be1d245e-74bd-45d3-bc54-09adb140206a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-be1d245e-74bd-45d3-bc54-09adb140206a.json new file mode 100644 index 0000000000..c4a6abdc9b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-be1d245e-74bd-45d3-bc54-09adb140206a.json @@ -0,0 +1,43 @@ +{ + "id" : "be1d245e-74bd-45d3-bc54-09adb140206a", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "\"b37e731cda50a445d1ab535a24d40c96\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:41 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4444", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"b37e731cda50a445d1ab535a24d40c96\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:35 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841E57:9BAE20:5D79BDF9" + } + }, + "uuid" : "be1d245e-74bd-45d3-bc54-09adb140206a", + "persistent" : true, + "scenarioName" : "scenario-5-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-5-repos-github-api-test-org-github-api-2", + "insertionIndex" : 17 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-f47c1f54-4332-4164-8a6b-0c91adab7633.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-f47c1f54-4332-4164-8a6b-0c91adab7633.json new file mode 100644 index 0000000000..20846d3a65 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/repos_github-api-test-org_github-api-f47c1f54-4332-4164-8a6b-0c91adab7633.json @@ -0,0 +1,43 @@ +{ + "id" : "f47c1f54-4332-4164-8a6b-0c91adab7633", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-f47c1f54-4332-4164-8a6b-0c91adab7633.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:21 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4449", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"72a2aee890bb21d6d71757e65f350895\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:16 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841B01:9BAAD1:5D79BDE9" + } + }, + "uuid" : "f47c1f54-4332-4164-8a6b-0c91adab7633", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-2", + "insertionIndex" : 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-68b0793a-ea08-46c7-9d69-a547a82e84b2.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-68b0793a-ea08-46c7-9d69-a547a82e84b2.json new file mode 100644 index 0000000000..b147fb0834 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-68b0793a-ea08-46c7-9d69-a547a82e84b2.json @@ -0,0 +1,43 @@ +{ + "id" : "68b0793a-ea08-46c7-9d69-a547a82e84b2", + "name" : "user", + "request" : { + "url" : "/user", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "user-68b0793a-ea08-46c7-9d69-a547a82e84b2.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:15 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4456", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"52487579041efc761c616391d6231837\"", + "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:8419D2:9BA978:5D79BDE3" + } + }, + "uuid" : "68b0793a-ea08-46c7-9d69-a547a82e84b2", + "persistent" : true, + "scenarioName" : "scenario-1-user", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-1-user-2", + "insertionIndex" : 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-edf7f43f-7b56-4709-ab58-d01dfd22fdff.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-edf7f43f-7b56-4709-ab58-d01dfd22fdff.json new file mode 100644 index 0000000000..c909cb8339 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeDefault_Zero/mappings/user-edf7f43f-7b56-4709-ab58-d01dfd22fdff.json @@ -0,0 +1,42 @@ +{ + "id" : "edf7f43f-7b56-4709-ab58-d01dfd22fdff", + "name" : "user", + "request" : { + "url" : "/user", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "user-edf7f43f-7b56-4709-ab58-d01dfd22fdff.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:21 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4451", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"59d704433ccf1b4a55a8b36ec6414ab4\"", + "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F336:2C77:841AF1:9BA97E:5D79BDE3" + } + }, + "uuid" : "edf7f43f-7b56-4709-ab58-d01dfd22fdff", + "persistent" : true, + "scenarioName" : "scenario-1-user", + "requiredScenarioState" : "scenario-1-user-2", + "insertionIndex" : 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/orgs_github-api-test-org-c4366743-11d9-4e02-a28a-da79e1e63062.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/orgs_github-api-test-org-c4366743-11d9-4e02-a28a-da79e1e63062.json new file mode 100644 index 0000000000..887621a09d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/orgs_github-api-test-org-c4366743-11d9-4e02-a28a-da79e1e63062.json @@ -0,0 +1 @@ +{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","url":"https://api.github.com/orgs/github-api-test-org","repos_url":"https://api.github.com/orgs/github-api-test-org/repos","events_url":"https://api.github.com/orgs/github-api-test-org/events","hooks_url":"https://api.github.com/orgs/github-api-test-org/hooks","issues_url":"https://api.github.com/orgs/github-api-test-org/issues","members_url":"https://api.github.com/orgs/github-api-test-org/members{/member}","public_members_url":"https://api.github.com/orgs/github-api-test-org/public_members{/member}","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","description":null,"is_verified":false,"has_organization_projects":true,"has_repository_projects":true,"public_repos":9,"public_gists":0,"followers":0,"following":0,"html_url":"https://github.com/github-api-test-org","created_at":"2014-05-10T19:39:11Z","updated_at":"2015-04-20T00:42:30Z","type":"Organization","total_private_repos":0,"owned_private_repos":0,"private_gists":0,"disk_usage":132,"collaborators":0,"billing_email":"kk@kohsuke.org","default_repository_permission":"none","members_can_create_repositories":false,"two_factor_requirement_enabled":false,"plan":{"name":"free","space":976562499,"private_repos":0,"filled_seats":3,"seats":0}} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-1700eced-064a-4b8d-87d3-648167122fe2.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-1700eced-064a-4b8d-87d3-648167122fe2.json new file mode 100644 index 0000000000..80e85facba --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-1700eced-064a-4b8d-87d3-648167122fe2.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_Cache_MaxAgeNone","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:49Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-6954c351-f696-4e15-b008-2330acda2547.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-6954c351-f696-4e15-b008-2330acda2547.json new file mode 100644 index 0000000000..80e85facba --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-6954c351-f696-4e15-b008-2330acda2547.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_Cache_MaxAgeNone","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:49Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-fc1459f4-ceae-40cb-beaa-bd4ff139b99f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-fc1459f4-ceae-40cb-beaa-bd4ff139b99f.json new file mode 100644 index 0000000000..d600a199d6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/repos_github-api-test-org_github-api-fc1459f4-ceae-40cb-beaa-bd4ff139b99f.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:37Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-07226fbb-4449-4d80-b800-d3f3a5dc6743.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-07226fbb-4449-4d80-b800-d3f3a5dc6743.json new file mode 100644 index 0000000000..2c5ba9974d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-07226fbb-4449-4d80-b800-d3f3a5dc6743.json @@ -0,0 +1 @@ +{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":134,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-a8957aae-9b57-4563-93bb-37e4edd4f21e.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-a8957aae-9b57-4563-93bb-37e4edd4f21e.json new file mode 100644 index 0000000000..2c5ba9974d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/__files/user-a8957aae-9b57-4563-93bb-37e4edd4f21e.json @@ -0,0 +1 @@ +{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":134,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/orgs_github-api-test-org-c4366743-11d9-4e02-a28a-da79e1e63062.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/orgs_github-api-test-org-c4366743-11d9-4e02-a28a-da79e1e63062.json new file mode 100644 index 0000000000..6bfae782f9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/orgs_github-api-test-org-c4366743-11d9-4e02-a28a-da79e1e63062.json @@ -0,0 +1,40 @@ +{ + "id" : "c4366743-11d9-4e02-a28a-da79e1e63062", + "name" : "orgs_github-api-test-org", + "request" : { + "url" : "/orgs/github-api-test-org", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "orgs_github-api-test-org-c4366743-11d9-4e02-a28a-da79e1e63062.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:43 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4392", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"ab2c566dc8a17d041f948a563e2387f0\"", + "Last-Modified" : "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F363:4204:FEC4F2:12F8A55:5D79BE3B" + } + }, + "uuid" : "c4366743-11d9-4e02-a28a-da79e1e63062", + "persistent" : true, + "insertionIndex" : 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-1700eced-064a-4b8d-87d3-648167122fe2.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-1700eced-064a-4b8d-87d3-648167122fe2.json new file mode 100644 index 0000000000..fde75605e7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-1700eced-064a-4b8d-87d3-648167122fe2.json @@ -0,0 +1,44 @@ +{ + "id" : "1700eced-064a-4b8d-87d3-648167122fe2", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "PATCH", + "bodyPatterns" : [ { + "equalToJson" : "{\"name\":\"github-api\",\"description\":\"OkHttpConnector_Cache_MaxAgeNone\"}", + "ignoreArrayOrder" : true, + "ignoreExtraElements" : true + } ] + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-1700eced-064a-4b8d-87d3-648167122fe2.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:49 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4390", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"5c662de05ddc7f7f779830b9ea76ade6\"", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F363:4204:FEC6C8:12F8A72:5D79BE3B" + } + }, + "uuid" : "1700eced-064a-4b8d-87d3-648167122fe2", + "persistent" : true, + "insertionIndex" : 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-6954c351-f696-4e15-b008-2330acda2547.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-6954c351-f696-4e15-b008-2330acda2547.json new file mode 100644 index 0000000000..5ce9ae05d1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-6954c351-f696-4e15-b008-2330acda2547.json @@ -0,0 +1,42 @@ +{ + "id" : "6954c351-f696-4e15-b008-2330acda2547", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-6954c351-f696-4e15-b008-2330acda2547.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:49 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4389", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"5c662de05ddc7f7f779830b9ea76ade6\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:49 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F363:4204:FEC6DE:12F8C88:5D79BE41" + } + }, + "uuid" : "6954c351-f696-4e15-b008-2330acda2547", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-2", + "insertionIndex" : 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-fc1459f4-ceae-40cb-beaa-bd4ff139b99f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-fc1459f4-ceae-40cb-beaa-bd4ff139b99f.json new file mode 100644 index 0000000000..447bcc18ef --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/repos_github-api-test-org_github-api-fc1459f4-ceae-40cb-beaa-bd4ff139b99f.json @@ -0,0 +1,43 @@ +{ + "id" : "fc1459f4-ceae-40cb-beaa-bd4ff139b99f", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-fc1459f4-ceae-40cb-beaa-bd4ff139b99f.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:43 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4391", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"e33122c8cc81c965c7f662c2f1b654b2\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:37 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F363:4204:FEC4FA:12F8A60:5D79BE3B" + } + }, + "uuid" : "fc1459f4-ceae-40cb-beaa-bd4ff139b99f", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-2", + "insertionIndex" : 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-07226fbb-4449-4d80-b800-d3f3a5dc6743.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-07226fbb-4449-4d80-b800-d3f3a5dc6743.json new file mode 100644 index 0000000000..6d9f84386b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-07226fbb-4449-4d80-b800-d3f3a5dc6743.json @@ -0,0 +1,43 @@ +{ + "id" : "07226fbb-4449-4d80-b800-d3f3a5dc6743", + "name" : "user", + "request" : { + "url" : "/user", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "user-07226fbb-4449-4d80-b800-d3f3a5dc6743.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:37 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4398", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"52487579041efc761c616391d6231837\"", + "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F363:4204:FEC2E5:12F87F2:5D79BE35" + } + }, + "uuid" : "07226fbb-4449-4d80-b800-d3f3a5dc6743", + "persistent" : true, + "scenarioName" : "scenario-1-user", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-1-user-2", + "insertionIndex" : 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-a8957aae-9b57-4563-93bb-37e4edd4f21e.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-a8957aae-9b57-4563-93bb-37e4edd4f21e.json new file mode 100644 index 0000000000..890263df13 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAgeNone/mappings/user-a8957aae-9b57-4563-93bb-37e4edd4f21e.json @@ -0,0 +1,42 @@ +{ + "id" : "a8957aae-9b57-4563-93bb-37e4edd4f21e", + "name" : "user", + "request" : { + "url" : "/user", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "user-a8957aae-9b57-4563-93bb-37e4edd4f21e.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:43 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4393", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"59d704433ccf1b4a55a8b36ec6414ab4\"", + "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F363:4204:FEC4E8:12F87FC:5D79BE35" + } + }, + "uuid" : "a8957aae-9b57-4563-93bb-37e4edd4f21e", + "persistent" : true, + "scenarioName" : "scenario-1-user", + "requiredScenarioState" : "scenario-1-user-2", + "insertionIndex" : 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/orgs_github-api-test-org-ae76364b-0984-417c-800f-a0f9655892fe.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/orgs_github-api-test-org-ae76364b-0984-417c-800f-a0f9655892fe.json new file mode 100644 index 0000000000..887621a09d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/orgs_github-api-test-org-ae76364b-0984-417c-800f-a0f9655892fe.json @@ -0,0 +1 @@ +{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","url":"https://api.github.com/orgs/github-api-test-org","repos_url":"https://api.github.com/orgs/github-api-test-org/repos","events_url":"https://api.github.com/orgs/github-api-test-org/events","hooks_url":"https://api.github.com/orgs/github-api-test-org/hooks","issues_url":"https://api.github.com/orgs/github-api-test-org/issues","members_url":"https://api.github.com/orgs/github-api-test-org/members{/member}","public_members_url":"https://api.github.com/orgs/github-api-test-org/public_members{/member}","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","description":null,"is_verified":false,"has_organization_projects":true,"has_repository_projects":true,"public_repos":9,"public_gists":0,"followers":0,"following":0,"html_url":"https://github.com/github-api-test-org","created_at":"2014-05-10T19:39:11Z","updated_at":"2015-04-20T00:42:30Z","type":"Organization","total_private_repos":0,"owned_private_repos":0,"private_gists":0,"disk_usage":132,"collaborators":0,"billing_email":"kk@kohsuke.org","default_repository_permission":"none","members_can_create_repositories":false,"two_factor_requirement_enabled":false,"plan":{"name":"free","space":976562499,"private_repos":0,"filled_seats":3,"seats":0}} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-0bd70908-37e9-4295-925f-70d70b4fe069.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-0bd70908-37e9-4295-925f-70d70b4fe069.json new file mode 100644 index 0000000000..5dd574488b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-0bd70908-37e9-4295-925f-70d70b4fe069.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_Cache_MaxAge_Three","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:02Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-b30033ac-8195-4450-8ced-ec1c806bad3e.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-b30033ac-8195-4450-8ced-ec1c806bad3e.json new file mode 100644 index 0000000000..5dd574488b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-b30033ac-8195-4450-8ced-ec1c806bad3e.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_Cache_MaxAge_Three","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:02Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-d7f99888-0032-4e42-90e4-d413797f0cd6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-d7f99888-0032-4e42-90e4-d413797f0cd6.json new file mode 100644 index 0000000000..e0fc90e5cf --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-d7f99888-0032-4e42-90e4-d413797f0cd6.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:38:50Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-fdc1558c-0aae-4f55-af68-1c398b666071.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-fdc1558c-0aae-4f55-af68-1c398b666071.json new file mode 100644 index 0000000000..18730a9f97 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/repos_github-api-test-org_github-api-fdc1558c-0aae-4f55-af68-1c398b666071.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:39:08Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/user-a495aa16-6225-4b30-a8e3-fe27a012830f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/user-a495aa16-6225-4b30-a8e3-fe27a012830f.json new file mode 100644 index 0000000000..2c5ba9974d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/user-a495aa16-6225-4b30-a8e3-fe27a012830f.json @@ -0,0 +1 @@ +{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":134,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/user-ecec5457-7ef0-4687-9061-feed60c3d037.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/user-ecec5457-7ef0-4687-9061-feed60c3d037.json new file mode 100644 index 0000000000..2c5ba9974d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/__files/user-ecec5457-7ef0-4687-9061-feed60c3d037.json @@ -0,0 +1 @@ +{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":134,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/orgs_github-api-test-org-ae76364b-0984-417c-800f-a0f9655892fe.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/orgs_github-api-test-org-ae76364b-0984-417c-800f-a0f9655892fe.json new file mode 100644 index 0000000000..daa212dc61 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/orgs_github-api-test-org-ae76364b-0984-417c-800f-a0f9655892fe.json @@ -0,0 +1,40 @@ +{ + "id" : "ae76364b-0984-417c-800f-a0f9655892fe", + "name" : "orgs_github-api-test-org", + "request" : { + "url" : "/orgs/github-api-test-org", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "orgs_github-api-test-org-ae76364b-0984-417c-800f-a0f9655892fe.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:38:56 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4463", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"ab2c566dc8a17d041f948a563e2387f0\"", + "Last-Modified" : "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F32F:9DCE:11F9206:153A4F6:5D79BDD0" + } + }, + "uuid" : "ae76364b-0984-417c-800f-a0f9655892fe", + "persistent" : true, + "insertionIndex" : 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-03b1858b-0f46-451e-bc35-3534cc0d102f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-03b1858b-0f46-451e-bc35-3534cc0d102f.json new file mode 100644 index 0000000000..7328a42194 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-03b1858b-0f46-451e-bc35-3534cc0d102f.json @@ -0,0 +1,41 @@ +{ + "id" : "03b1858b-0f46-451e-bc35-3534cc0d102f", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "W/\"11209bdc91bb25ebd6aba3fc31a34475\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:08 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4460", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"11209bdc91bb25ebd6aba3fc31a34475\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:02 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F32F:9DCE:11F95FB:153A765:5D79BDD6" + } + }, + "uuid" : "03b1858b-0f46-451e-bc35-3534cc0d102f", + "persistent" : true, + "insertionIndex" : 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-0bd70908-37e9-4295-925f-70d70b4fe069.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-0bd70908-37e9-4295-925f-70d70b4fe069.json new file mode 100644 index 0000000000..45332cdacb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-0bd70908-37e9-4295-925f-70d70b4fe069.json @@ -0,0 +1,42 @@ +{ + "id" : "0bd70908-37e9-4295-925f-70d70b4fe069", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-0bd70908-37e9-4295-925f-70d70b4fe069.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:02 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4460", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"11209bdc91bb25ebd6aba3fc31a34475\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:02 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F32F:9DCE:11F93F7:153A749:5D79BDD6" + } + }, + "uuid" : "0bd70908-37e9-4295-925f-70d70b4fe069", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-2", + "insertionIndex" : 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-64973909-738f-4769-b5fb-43b959583454.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-64973909-738f-4769-b5fb-43b959583454.json new file mode 100644 index 0000000000..73607a3349 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-64973909-738f-4769-b5fb-43b959583454.json @@ -0,0 +1,41 @@ +{ + "id" : "64973909-738f-4769-b5fb-43b959583454", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "W/\"baa4f215eeac9e2654d5b9f2c89ef2ea\"" + } + } + }, + "response" : { + "status" : 304, + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:02 GMT", + "Content-Type" : "application/octet-stream", + "Server" : "GitHub.com", + "Status" : "304 Not Modified", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4462", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "\"baa4f215eeac9e2654d5b9f2c89ef2ea\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:38:50 GMT", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F32F:9DCE:11F93C5:153A515:5D79BDD0" + } + }, + "uuid" : "64973909-738f-4769-b5fb-43b959583454", + "persistent" : true, + "insertionIndex" : 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-b30033ac-8195-4450-8ced-ec1c806bad3e.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-b30033ac-8195-4450-8ced-ec1c806bad3e.json new file mode 100644 index 0000000000..e2a0b4a866 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-b30033ac-8195-4450-8ced-ec1c806bad3e.json @@ -0,0 +1,44 @@ +{ + "id" : "b30033ac-8195-4450-8ced-ec1c806bad3e", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "PATCH", + "bodyPatterns" : [ { + "equalToJson" : "{\"name\":\"github-api\",\"description\":\"OkHttpConnector_Cache_MaxAge_Three\"}", + "ignoreArrayOrder" : true, + "ignoreExtraElements" : true + } ] + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-b30033ac-8195-4450-8ced-ec1c806bad3e.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:02 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4461", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"11209bdc91bb25ebd6aba3fc31a34475\"", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F32F:9DCE:11F93DB:153A72A:5D79BDD6" + } + }, + "uuid" : "b30033ac-8195-4450-8ced-ec1c806bad3e", + "persistent" : true, + "insertionIndex" : 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-d7f99888-0032-4e42-90e4-d413797f0cd6.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-d7f99888-0032-4e42-90e4-d413797f0cd6.json new file mode 100644 index 0000000000..83f56d153c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-d7f99888-0032-4e42-90e4-d413797f0cd6.json @@ -0,0 +1,43 @@ +{ + "id" : "d7f99888-0032-4e42-90e4-d413797f0cd6", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-d7f99888-0032-4e42-90e4-d413797f0cd6.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:38:56 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4462", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"baa4f215eeac9e2654d5b9f2c89ef2ea\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:38:50 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F32F:9DCE:11F9212:153A503:5D79BDD0" + } + }, + "uuid" : "d7f99888-0032-4e42-90e4-d413797f0cd6", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-2", + "insertionIndex" : 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-fdc1558c-0aae-4f55-af68-1c398b666071.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-fdc1558c-0aae-4f55-af68-1c398b666071.json new file mode 100644 index 0000000000..186ce39011 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/repos_github-api-test-org_github-api-fdc1558c-0aae-4f55-af68-1c398b666071.json @@ -0,0 +1,45 @@ +{ + "id" : "fdc1558c-0aae-4f55-af68-1c398b666071", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET", + "headers" : { + "If-None-Match" : { + "equalTo" : "\"11209bdc91bb25ebd6aba3fc31a34475\"" + } + } + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-fdc1558c-0aae-4f55-af68-1c398b666071.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:39:14 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4457", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"cf3bec9dd8151b02243bd088fb497807\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:39:08 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F32F:9DCE:11F97C0:153A9D2:5D79BDDC" + } + }, + "uuid" : "fdc1558c-0aae-4f55-af68-1c398b666071", + "persistent" : true, + "insertionIndex" : 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/user-a495aa16-6225-4b30-a8e3-fe27a012830f.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/user-a495aa16-6225-4b30-a8e3-fe27a012830f.json new file mode 100644 index 0000000000..874dd16c8e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/user-a495aa16-6225-4b30-a8e3-fe27a012830f.json @@ -0,0 +1,42 @@ +{ + "id" : "a495aa16-6225-4b30-a8e3-fe27a012830f", + "name" : "user", + "request" : { + "url" : "/user", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "user-a495aa16-6225-4b30-a8e3-fe27a012830f.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:38:56 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4464", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"59d704433ccf1b4a55a8b36ec6414ab4\"", + "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F32F:9DCE:11F91FA:153A304:5D79BDC9" + } + }, + "uuid" : "a495aa16-6225-4b30-a8e3-fe27a012830f", + "persistent" : true, + "scenarioName" : "scenario-1-user", + "requiredScenarioState" : "scenario-1-user-2", + "insertionIndex" : 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/user-ecec5457-7ef0-4687-9061-feed60c3d037.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/user-ecec5457-7ef0-4687-9061-feed60c3d037.json new file mode 100644 index 0000000000..20c335e8e9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_Cache_MaxAge_Three/mappings/user-ecec5457-7ef0-4687-9061-feed60c3d037.json @@ -0,0 +1,43 @@ +{ + "id" : "ecec5457-7ef0-4687-9061-feed60c3d037", + "name" : "user", + "request" : { + "url" : "/user", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "user-ecec5457-7ef0-4687-9061-feed60c3d037.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:38:49 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4469", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"52487579041efc761c616391d6231837\"", + "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F32F:9DCE:11F906C:153A2FA:5D79BDC9" + } + }, + "uuid" : "ecec5457-7ef0-4687-9061-feed60c3d037", + "persistent" : true, + "scenarioName" : "scenario-1-user", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-1-user-2", + "insertionIndex" : 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/orgs_github-api-test-org-edbe0ec8-6d58-4bb1-a2ee-6d7305634e56.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/orgs_github-api-test-org-edbe0ec8-6d58-4bb1-a2ee-6d7305634e56.json new file mode 100644 index 0000000000..887621a09d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/orgs_github-api-test-org-edbe0ec8-6d58-4bb1-a2ee-6d7305634e56.json @@ -0,0 +1 @@ +{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","url":"https://api.github.com/orgs/github-api-test-org","repos_url":"https://api.github.com/orgs/github-api-test-org/repos","events_url":"https://api.github.com/orgs/github-api-test-org/events","hooks_url":"https://api.github.com/orgs/github-api-test-org/hooks","issues_url":"https://api.github.com/orgs/github-api-test-org/issues","members_url":"https://api.github.com/orgs/github-api-test-org/members{/member}","public_members_url":"https://api.github.com/orgs/github-api-test-org/public_members{/member}","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","description":null,"is_verified":false,"has_organization_projects":true,"has_repository_projects":true,"public_repos":9,"public_gists":0,"followers":0,"following":0,"html_url":"https://github.com/github-api-test-org","created_at":"2014-05-10T19:39:11Z","updated_at":"2015-04-20T00:42:30Z","type":"Organization","total_private_repos":0,"owned_private_repos":0,"private_gists":0,"disk_usage":132,"collaborators":0,"billing_email":"kk@kohsuke.org","default_repository_permission":"none","members_can_create_repositories":false,"two_factor_requirement_enabled":false,"plan":{"name":"free","space":976562499,"private_repos":0,"filled_seats":3,"seats":0}} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-1891741b-37e5-499c-add7-cd6ca7d6649d.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-1891741b-37e5-499c-add7-cd6ca7d6649d.json new file mode 100644 index 0000000000..7be7fb1fc6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-1891741b-37e5-499c-add7-cd6ca7d6649d.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:30Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-370d6865-2cd7-44b4-b921-bd20d7d08f52.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-370d6865-2cd7-44b4-b921-bd20d7d08f52.json new file mode 100644 index 0000000000..19903f00e3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-370d6865-2cd7-44b4-b921-bd20d7d08f52.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:10Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-4caf5c84-490d-4705-910d-7a27702e3817.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-4caf5c84-490d-4705-910d-7a27702e3817.json new file mode 100644 index 0000000000..e951a1b0f6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-4caf5c84-490d-4705-910d-7a27702e3817.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_NoCache","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:23Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-62aaf7ce-4287-43dd-8ef1-2ddd01fcd464.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-62aaf7ce-4287-43dd-8ef1-2ddd01fcd464.json new file mode 100644 index 0000000000..19903f00e3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-62aaf7ce-4287-43dd-8ef1-2ddd01fcd464.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:10Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-672d33aa-5f67-47f9-9e3d-610c34503bbd.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-672d33aa-5f67-47f9-9e3d-610c34503bbd.json new file mode 100644 index 0000000000..e951a1b0f6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-672d33aa-5f67-47f9-9e3d-610c34503bbd.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_NoCache","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:23Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-7dab3bb6-9eea-4386-9a55-76076c0b64b7.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-7dab3bb6-9eea-4386-9a55-76076c0b64b7.json new file mode 100644 index 0000000000..19903f00e3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-7dab3bb6-9eea-4386-9a55-76076c0b64b7.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:10Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-8cf8fc27-e4e2-4f2c-8783-0ebca2e758fe.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-8cf8fc27-e4e2-4f2c-8783-0ebca2e758fe.json new file mode 100644 index 0000000000..e951a1b0f6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-8cf8fc27-e4e2-4f2c-8783-0ebca2e758fe.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_NoCache","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:23Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-94eb496b-330b-4769-a1a4-016c629fda24.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-94eb496b-330b-4769-a1a4-016c629fda24.json new file mode 100644 index 0000000000..7be7fb1fc6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-94eb496b-330b-4769-a1a4-016c629fda24.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:30Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-95c260c3-0524-4de9-a4cc-5948b99da991.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-95c260c3-0524-4de9-a4cc-5948b99da991.json new file mode 100644 index 0000000000..7be7fb1fc6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-95c260c3-0524-4de9-a4cc-5948b99da991.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:30Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-a13e3eea-c223-407f-886c-2b729ac66c9a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-a13e3eea-c223-407f-886c-2b729ac66c9a.json new file mode 100644 index 0000000000..7be7fb1fc6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-a13e3eea-c223-407f-886c-2b729ac66c9a.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Tricky","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:30Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-a94c0778-27aa-4b4c-b940-0f4b819e7215.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-a94c0778-27aa-4b4c-b940-0f4b819e7215.json new file mode 100644 index 0000000000..e951a1b0f6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-a94c0778-27aa-4b4c-b940-0f4b819e7215.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_NoCache","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:23Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-c11b2d11-ed32-4671-a641-7c3605ce33bf.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-c11b2d11-ed32-4671-a641-7c3605ce33bf.json new file mode 100644 index 0000000000..19903f00e3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-c11b2d11-ed32-4671-a641-7c3605ce33bf.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:10Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-f47f204a-498d-416f-ac3b-d6ed795166ea.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-f47f204a-498d-416f-ac3b-d6ed795166ea.json new file mode 100644 index 0000000000..e951a1b0f6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-f47f204a-498d-416f-ac3b-d6ed795166ea.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"OkHttpConnector_NoCache","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:23Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-f72b7487-7e02-445b-bf62-7e6a4818a6ae.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-f72b7487-7e02-445b-bf62-7e6a4818a6ae.json new file mode 100644 index 0000000000..19903f00e3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/repos_github-api-test-org_github-api-f72b7487-7e02-445b-bf62-7e6a4818a6ae.json @@ -0,0 +1 @@ +{"id":206888201,"node_id":"MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=","name":"github-api","full_name":"github-api-test-org/github-api","private":false,"owner":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api-test-org/github-api","description":"Resetting","fork":true,"url":"https://api.github.com/repos/github-api-test-org/github-api","forks_url":"https://api.github.com/repos/github-api-test-org/github-api/forks","keys_url":"https://api.github.com/repos/github-api-test-org/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api-test-org/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api-test-org/github-api/teams","hooks_url":"https://api.github.com/repos/github-api-test-org/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api-test-org/github-api/events","assignees_url":"https://api.github.com/repos/github-api-test-org/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api-test-org/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api-test-org/github-api/tags","blobs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api-test-org/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api-test-org/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api-test-org/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api-test-org/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api-test-org/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api-test-org/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api-test-org/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api-test-org/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api-test-org/github-api/subscription","commits_url":"https://api.github.com/repos/github-api-test-org/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api-test-org/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api-test-org/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api-test-org/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api-test-org/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api-test-org/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api-test-org/github-api/merges","archive_url":"https://api.github.com/repos/github-api-test-org/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api-test-org/github-api/downloads","issues_url":"https://api.github.com/repos/github-api-test-org/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api-test-org/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api-test-org/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api-test-org/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api-test-org/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api-test-org/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api-test-org/github-api/deployments","created_at":"2019-09-06T23:26:04Z","updated_at":"2019-09-12T03:40:10Z","pushed_at":"2019-09-10T19:58:59Z","git_url":"git://github.com/github-api-test-org/github-api.git","ssh_url":"git@github.com:github-api-test-org/github-api.git","clone_url":"https://github.com/github-api-test-org/github-api.git","svn_url":"https://github.com/github-api-test-org/github-api","homepage":"http://github-api.kohsuke.org/","size":11386,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master","permissions":{"admin":true,"push":true,"pull":true},"allow_squash_merge":true,"allow_merge_commit":true,"allow_rebase_merge":true,"organization":{"login":"github-api-test-org","id":7544739,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/7544739?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api-test-org","html_url":"https://github.com/github-api-test-org","followers_url":"https://api.github.com/users/github-api-test-org/followers","following_url":"https://api.github.com/users/github-api-test-org/following{/other_user}","gists_url":"https://api.github.com/users/github-api-test-org/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api-test-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api-test-org/subscriptions","organizations_url":"https://api.github.com/users/github-api-test-org/orgs","repos_url":"https://api.github.com/users/github-api-test-org/repos","events_url":"https://api.github.com/users/github-api-test-org/events{/privacy}","received_events_url":"https://api.github.com/users/github-api-test-org/received_events","type":"Organization","site_admin":false},"parent":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"source":{"id":617210,"node_id":"MDEwOlJlcG9zaXRvcnk2MTcyMTA=","name":"github-api","full_name":"github-api/github-api","private":false,"owner":{"login":"github-api","id":54909825,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1","avatar_url":"https://avatars3.githubusercontent.com/u/54909825?v=4","gravatar_id":"","url":"https://api.github.com/users/github-api","html_url":"https://github.com/github-api","followers_url":"https://api.github.com/users/github-api/followers","following_url":"https://api.github.com/users/github-api/following{/other_user}","gists_url":"https://api.github.com/users/github-api/gists{/gist_id}","starred_url":"https://api.github.com/users/github-api/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-api/subscriptions","organizations_url":"https://api.github.com/users/github-api/orgs","repos_url":"https://api.github.com/users/github-api/repos","events_url":"https://api.github.com/users/github-api/events{/privacy}","received_events_url":"https://api.github.com/users/github-api/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/github-api/github-api","description":"Java API for GitHub","fork":false,"url":"https://api.github.com/repos/github-api/github-api","forks_url":"https://api.github.com/repos/github-api/github-api/forks","keys_url":"https://api.github.com/repos/github-api/github-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-api/github-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-api/github-api/teams","hooks_url":"https://api.github.com/repos/github-api/github-api/hooks","issue_events_url":"https://api.github.com/repos/github-api/github-api/issues/events{/number}","events_url":"https://api.github.com/repos/github-api/github-api/events","assignees_url":"https://api.github.com/repos/github-api/github-api/assignees{/user}","branches_url":"https://api.github.com/repos/github-api/github-api/branches{/branch}","tags_url":"https://api.github.com/repos/github-api/github-api/tags","blobs_url":"https://api.github.com/repos/github-api/github-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-api/github-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-api/github-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-api/github-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-api/github-api/statuses/{sha}","languages_url":"https://api.github.com/repos/github-api/github-api/languages","stargazers_url":"https://api.github.com/repos/github-api/github-api/stargazers","contributors_url":"https://api.github.com/repos/github-api/github-api/contributors","subscribers_url":"https://api.github.com/repos/github-api/github-api/subscribers","subscription_url":"https://api.github.com/repos/github-api/github-api/subscription","commits_url":"https://api.github.com/repos/github-api/github-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-api/github-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-api/github-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-api/github-api/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-api/github-api/contents/{+path}","compare_url":"https://api.github.com/repos/github-api/github-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-api/github-api/merges","archive_url":"https://api.github.com/repos/github-api/github-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-api/github-api/downloads","issues_url":"https://api.github.com/repos/github-api/github-api/issues{/number}","pulls_url":"https://api.github.com/repos/github-api/github-api/pulls{/number}","milestones_url":"https://api.github.com/repos/github-api/github-api/milestones{/number}","notifications_url":"https://api.github.com/repos/github-api/github-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-api/github-api/labels{/name}","releases_url":"https://api.github.com/repos/github-api/github-api/releases{/id}","deployments_url":"https://api.github.com/repos/github-api/github-api/deployments","created_at":"2010-04-19T04:13:03Z","updated_at":"2019-09-11T06:01:04Z","pushed_at":"2019-09-11T23:30:26Z","git_url":"git://github.com/github-api/github-api.git","ssh_url":"git@github.com:github-api/github-api.git","clone_url":"https://github.com/github-api/github-api.git","svn_url":"https://github.com/github-api/github-api","homepage":"http://github-api.kohsuke.org/","size":11621,"stargazers_count":551,"watchers_count":551,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":428,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":95,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":428,"open_issues":95,"watchers":551,"default_branch":"master"},"network_count":428,"subscribers_count":0} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/user-0808ba1f-9ba3-49f5-9ca4-ec6697f91e1e.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/user-0808ba1f-9ba3-49f5-9ca4-ec6697f91e1e.json new file mode 100644 index 0000000000..2c5ba9974d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/user-0808ba1f-9ba3-49f5-9ca4-ec6697f91e1e.json @@ -0,0 +1 @@ +{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":134,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/user-b18786c6-6f4d-49d9-87f6-3c07cb09f5b3.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/user-b18786c6-6f4d-49d9-87f6-3c07cb09f5b3.json new file mode 100644 index 0000000000..2c5ba9974d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/__files/user-b18786c6-6f4d-49d9-87f6-3c07cb09f5b3.json @@ -0,0 +1 @@ +{"login":"bitwiseman","id":1958953,"node_id":"MDQ6VXNlcjE5NTg5NTM=","avatar_url":"https://avatars3.githubusercontent.com/u/1958953?v=4","gravatar_id":"","url":"https://api.github.com/users/bitwiseman","html_url":"https://github.com/bitwiseman","followers_url":"https://api.github.com/users/bitwiseman/followers","following_url":"https://api.github.com/users/bitwiseman/following{/other_user}","gists_url":"https://api.github.com/users/bitwiseman/gists{/gist_id}","starred_url":"https://api.github.com/users/bitwiseman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitwiseman/subscriptions","organizations_url":"https://api.github.com/users/bitwiseman/orgs","repos_url":"https://api.github.com/users/bitwiseman/repos","events_url":"https://api.github.com/users/bitwiseman/events{/privacy}","received_events_url":"https://api.github.com/users/bitwiseman/received_events","type":"User","site_admin":false,"name":"Liam Newman","company":"Cloudbees, Inc.","blog":"","location":"Seattle, WA, USA","email":"bitwiseman@gmail.com","hireable":null,"bio":"https://twitter.com/bitwiseman","public_repos":166,"public_gists":4,"followers":134,"following":9,"created_at":"2012-07-11T20:38:33Z","updated_at":"2019-06-03T17:47:20Z"} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/orgs_github-api-test-org-edbe0ec8-6d58-4bb1-a2ee-6d7305634e56.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/orgs_github-api-test-org-edbe0ec8-6d58-4bb1-a2ee-6d7305634e56.json new file mode 100644 index 0000000000..e5f65eade7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/orgs_github-api-test-org-edbe0ec8-6d58-4bb1-a2ee-6d7305634e56.json @@ -0,0 +1,40 @@ +{ + "id" : "edbe0ec8-6d58-4bb1-a2ee-6d7305634e56", + "name" : "orgs_github-api-test-org", + "request" : { + "url" : "/orgs/github-api-test-org", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "orgs_github-api-test-org-edbe0ec8-6d58-4bb1-a2ee-6d7305634e56.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:16 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4415", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"ab2c566dc8a17d041f948a563e2387f0\"", + "Last-Modified" : "Mon, 20 Apr 2015 00:42:30 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:842456:9BB584:5D79BE20" + } + }, + "uuid" : "edbe0ec8-6d58-4bb1-a2ee-6d7305634e56", + "persistent" : true, + "insertionIndex" : 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-1891741b-37e5-499c-add7-cd6ca7d6649d.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-1891741b-37e5-499c-add7-cd6ca7d6649d.json new file mode 100644 index 0000000000..2653dfb870 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-1891741b-37e5-499c-add7-cd6ca7d6649d.json @@ -0,0 +1,43 @@ +{ + "id" : "1891741b-37e5-499c-add7-cd6ca7d6649d", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-1891741b-37e5-499c-add7-cd6ca7d6649d.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:30 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4402", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"4fe7e3d7a20e9c4df34fcda0d8cf00ef\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:30 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:842705:9BB892:5D79BE2D" + } + }, + "uuid" : "1891741b-37e5-499c-add7-cd6ca7d6649d", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-10", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-11", + "insertionIndex" : 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-370d6865-2cd7-44b4-b921-bd20d7d08f52.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-370d6865-2cd7-44b4-b921-bd20d7d08f52.json new file mode 100644 index 0000000000..5fced9537e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-370d6865-2cd7-44b4-b921-bd20d7d08f52.json @@ -0,0 +1,43 @@ +{ + "id" : "370d6865-2cd7-44b4-b921-bd20d7d08f52", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-370d6865-2cd7-44b4-b921-bd20d7d08f52.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:23 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4410", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"ef7ab9ecd8d88e20ad40aa22f7d36f8b\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:10 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:8425C7:9BB64A:5D79BE22" + } + }, + "uuid" : "370d6865-2cd7-44b4-b921-bd20d7d08f52", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-5", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-6", + "insertionIndex" : 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-4caf5c84-490d-4705-910d-7a27702e3817.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-4caf5c84-490d-4705-910d-7a27702e3817.json new file mode 100644 index 0000000000..b6fc077913 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-4caf5c84-490d-4705-910d-7a27702e3817.json @@ -0,0 +1,43 @@ +{ + "id" : "4caf5c84-490d-4705-910d-7a27702e3817", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-4caf5c84-490d-4705-910d-7a27702e3817.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:25 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4406", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"fed58de28c9b1cd5e571ff9db6659daa\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:23 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:842622:9BB773:5D79BE28" + } + }, + "uuid" : "4caf5c84-490d-4705-910d-7a27702e3817", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-8", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-9", + "insertionIndex" : 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-62aaf7ce-4287-43dd-8ef1-2ddd01fcd464.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-62aaf7ce-4287-43dd-8ef1-2ddd01fcd464.json new file mode 100644 index 0000000000..ed8feb4383 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-62aaf7ce-4287-43dd-8ef1-2ddd01fcd464.json @@ -0,0 +1,43 @@ +{ + "id" : "62aaf7ce-4287-43dd-8ef1-2ddd01fcd464", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-62aaf7ce-4287-43dd-8ef1-2ddd01fcd464.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:16 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4413", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"ef7ab9ecd8d88e20ad40aa22f7d36f8b\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:10 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:842475:9BB5A1:5D79BE20" + } + }, + "uuid" : "62aaf7ce-4287-43dd-8ef1-2ddd01fcd464", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-2", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-3", + "insertionIndex" : 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-672d33aa-5f67-47f9-9e3d-610c34503bbd.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-672d33aa-5f67-47f9-9e3d-610c34503bbd.json new file mode 100644 index 0000000000..e9852052d4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-672d33aa-5f67-47f9-9e3d-610c34503bbd.json @@ -0,0 +1,43 @@ +{ + "id" : "672d33aa-5f67-47f9-9e3d-610c34503bbd", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-672d33aa-5f67-47f9-9e3d-610c34503bbd.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:23 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4408", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"fed58de28c9b1cd5e571ff9db6659daa\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:23 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:8425DC:9BB748:5D79BE27" + } + }, + "uuid" : "672d33aa-5f67-47f9-9e3d-610c34503bbd", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-6", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-7", + "insertionIndex" : 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-7dab3bb6-9eea-4386-9a55-76076c0b64b7.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-7dab3bb6-9eea-4386-9a55-76076c0b64b7.json new file mode 100644 index 0000000000..3fa2bbf5c1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-7dab3bb6-9eea-4386-9a55-76076c0b64b7.json @@ -0,0 +1,43 @@ +{ + "id" : "7dab3bb6-9eea-4386-9a55-76076c0b64b7", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-7dab3bb6-9eea-4386-9a55-76076c0b64b7.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:17 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4412", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"ef7ab9ecd8d88e20ad40aa22f7d36f8b\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:10 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:84249D:9BB5B6:5D79BE20" + } + }, + "uuid" : "7dab3bb6-9eea-4386-9a55-76076c0b64b7", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-3", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-4", + "insertionIndex" : 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-8cf8fc27-e4e2-4f2c-8783-0ebca2e758fe.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-8cf8fc27-e4e2-4f2c-8783-0ebca2e758fe.json new file mode 100644 index 0000000000..37c8f0afdc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-8cf8fc27-e4e2-4f2c-8783-0ebca2e758fe.json @@ -0,0 +1,44 @@ +{ + "id" : "8cf8fc27-e4e2-4f2c-8783-0ebca2e758fe", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "PATCH", + "bodyPatterns" : [ { + "equalToJson" : "{\"name\":\"github-api\",\"description\":\"OkHttpConnector_NoCache\"}", + "ignoreArrayOrder" : true, + "ignoreExtraElements" : true + } ] + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-8cf8fc27-e4e2-4f2c-8783-0ebca2e758fe.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:23 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4409", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"fed58de28c9b1cd5e571ff9db6659daa\"", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:8425D2:9BB739:5D79BE27" + } + }, + "uuid" : "8cf8fc27-e4e2-4f2c-8783-0ebca2e758fe", + "persistent" : true, + "insertionIndex" : 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-94eb496b-330b-4769-a1a4-016c629fda24.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-94eb496b-330b-4769-a1a4-016c629fda24.json new file mode 100644 index 0000000000..b591dcbacb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-94eb496b-330b-4769-a1a4-016c629fda24.json @@ -0,0 +1,43 @@ +{ + "id" : "94eb496b-330b-4769-a1a4-016c629fda24", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-94eb496b-330b-4769-a1a4-016c629fda24.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:32 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4400", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"4fe7e3d7a20e9c4df34fcda0d8cf00ef\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:30 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:84275B:9BB8DC:5D79BE2F" + } + }, + "uuid" : "94eb496b-330b-4769-a1a4-016c629fda24", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-12", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-13", + "insertionIndex" : 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-95c260c3-0524-4de9-a4cc-5948b99da991.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-95c260c3-0524-4de9-a4cc-5948b99da991.json new file mode 100644 index 0000000000..fcf9e0547a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-95c260c3-0524-4de9-a4cc-5948b99da991.json @@ -0,0 +1,43 @@ +{ + "id" : "95c260c3-0524-4de9-a4cc-5948b99da991", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-95c260c3-0524-4de9-a4cc-5948b99da991.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:31 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4401", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"4fe7e3d7a20e9c4df34fcda0d8cf00ef\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:30 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:842725:9BB8B7:5D79BE2E" + } + }, + "uuid" : "95c260c3-0524-4de9-a4cc-5948b99da991", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-11", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-12", + "insertionIndex" : 15 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-a13e3eea-c223-407f-886c-2b729ac66c9a.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-a13e3eea-c223-407f-886c-2b729ac66c9a.json new file mode 100644 index 0000000000..f29737733c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-a13e3eea-c223-407f-886c-2b729ac66c9a.json @@ -0,0 +1,42 @@ +{ + "id" : "a13e3eea-c223-407f-886c-2b729ac66c9a", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-a13e3eea-c223-407f-886c-2b729ac66c9a.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:36 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4399", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"4fe7e3d7a20e9c4df34fcda0d8cf00ef\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:30 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:8427EF:9BB91C:5D79BE30" + } + }, + "uuid" : "a13e3eea-c223-407f-886c-2b729ac66c9a", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-13", + "insertionIndex" : 17 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-a94c0778-27aa-4b4c-b940-0f4b819e7215.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-a94c0778-27aa-4b4c-b940-0f4b819e7215.json new file mode 100644 index 0000000000..b8b96864e8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-a94c0778-27aa-4b4c-b940-0f4b819e7215.json @@ -0,0 +1,43 @@ +{ + "id" : "a94c0778-27aa-4b4c-b940-0f4b819e7215", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-a94c0778-27aa-4b4c-b940-0f4b819e7215.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:29 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4405", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"fed58de28c9b1cd5e571ff9db6659daa\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:23 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:8426F0:9BB7B2:5D79BE29" + } + }, + "uuid" : "a94c0778-27aa-4b4c-b940-0f4b819e7215", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-9", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-10", + "insertionIndex" : 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-c11b2d11-ed32-4671-a641-7c3605ce33bf.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-c11b2d11-ed32-4671-a641-7c3605ce33bf.json new file mode 100644 index 0000000000..050a432977 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-c11b2d11-ed32-4671-a641-7c3605ce33bf.json @@ -0,0 +1,43 @@ +{ + "id" : "c11b2d11-ed32-4671-a641-7c3605ce33bf", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-c11b2d11-ed32-4671-a641-7c3605ce33bf.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:16 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4414", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"ef7ab9ecd8d88e20ad40aa22f7d36f8b\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:10 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:842461:9BB58F:5D79BE20" + } + }, + "uuid" : "c11b2d11-ed32-4671-a641-7c3605ce33bf", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-2", + "insertionIndex" : 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-f47f204a-498d-416f-ac3b-d6ed795166ea.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-f47f204a-498d-416f-ac3b-d6ed795166ea.json new file mode 100644 index 0000000000..3b4e2fe38d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-f47f204a-498d-416f-ac3b-d6ed795166ea.json @@ -0,0 +1,43 @@ +{ + "id" : "f47f204a-498d-416f-ac3b-d6ed795166ea", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-f47f204a-498d-416f-ac3b-d6ed795166ea.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:24 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4407", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"fed58de28c9b1cd5e571ff9db6659daa\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:23 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:8425F6:9BB751:5D79BE27" + } + }, + "uuid" : "f47f204a-498d-416f-ac3b-d6ed795166ea", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-7", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-8", + "insertionIndex" : 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-f72b7487-7e02-445b-bf62-7e6a4818a6ae.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-f72b7487-7e02-445b-bf62-7e6a4818a6ae.json new file mode 100644 index 0000000000..63bcbf990c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/repos_github-api-test-org_github-api-f72b7487-7e02-445b-bf62-7e6a4818a6ae.json @@ -0,0 +1,43 @@ +{ + "id" : "f72b7487-7e02-445b-bf62-7e6a4818a6ae", + "name" : "repos_github-api-test-org_github-api", + "request" : { + "url" : "/repos/github-api-test-org/github-api", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "repos_github-api-test-org_github-api-f72b7487-7e02-445b-bf62-7e6a4818a6ae.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:18 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4411", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"ef7ab9ecd8d88e20ad40aa22f7d36f8b\"", + "Last-Modified" : "Thu, 12 Sep 2019 03:40:10 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "repo", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:8424EF:9BB5EB:5D79BE21" + } + }, + "uuid" : "f72b7487-7e02-445b-bf62-7e6a4818a6ae", + "persistent" : true, + "scenarioName" : "scenario-2-repos-github-api-test-org-github-api", + "requiredScenarioState" : "scenario-2-repos-github-api-test-org-github-api-4", + "newScenarioState" : "scenario-2-repos-github-api-test-org-github-api-5", + "insertionIndex" : 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/user-0808ba1f-9ba3-49f5-9ca4-ec6697f91e1e.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/user-0808ba1f-9ba3-49f5-9ca4-ec6697f91e1e.json new file mode 100644 index 0000000000..0bcf9da9b5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/user-0808ba1f-9ba3-49f5-9ca4-ec6697f91e1e.json @@ -0,0 +1,43 @@ +{ + "id" : "0808ba1f-9ba3-49f5-9ca4-ec6697f91e1e", + "name" : "user", + "request" : { + "url" : "/user", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "user-0808ba1f-9ba3-49f5-9ca4-ec6697f91e1e.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:10 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4421", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"52487579041efc761c616391d6231837\"", + "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "unknown, github.v3", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:842327:9BB435:5D79BE19" + } + }, + "uuid" : "0808ba1f-9ba3-49f5-9ca4-ec6697f91e1e", + "persistent" : true, + "scenarioName" : "scenario-1-user", + "requiredScenarioState" : "Started", + "newScenarioState" : "scenario-1-user-2", + "insertionIndex" : 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/user-b18786c6-6f4d-49d9-87f6-3c07cb09f5b3.json b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/user-b18786c6-6f4d-49d9-87f6-3c07cb09f5b3.json new file mode 100644 index 0000000000..231ae54d8d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/extras/OkHttpConnectorTest/wiremock/OkHttpConnector_NoCache/mappings/user-b18786c6-6f4d-49d9-87f6-3c07cb09f5b3.json @@ -0,0 +1,42 @@ +{ + "id" : "b18786c6-6f4d-49d9-87f6-3c07cb09f5b3", + "name" : "user", + "request" : { + "url" : "/user", + "method" : "GET" + }, + "response" : { + "status" : 200, + "bodyFileName" : "user-b18786c6-6f4d-49d9-87f6-3c07cb09f5b3.json", + "headers" : { + "Date" : "Thu, 12 Sep 2019 03:40:16 GMT", + "Content-Type" : "application/json; charset=utf-8", + "Server" : "GitHub.com", + "Status" : "200 OK", + "X-RateLimit-Limit" : "5000", + "X-RateLimit-Remaining" : "4416", + "X-RateLimit-Reset" : "1568263129", + "Cache-Control" : "private, max-age=60, s-maxage=60", + "Vary" : [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding" ], + "ETag" : "W/\"59d704433ccf1b4a55a8b36ec6414ab4\"", + "Last-Modified" : "Mon, 03 Jun 2019 17:47:20 GMT", + "X-OAuth-Scopes" : "gist, notifications, read:org, read:public_key, read:repo_hook, repo", + "X-Accepted-OAuth-Scopes" : "", + "X-GitHub-Media-Type" : "github.v3; format=json", + "Access-Control-Expose-Headers" : "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", + "Access-Control-Allow-Origin" : "*", + "Strict-Transport-Security" : "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options" : "deny", + "X-Content-Type-Options" : "nosniff", + "X-XSS-Protection" : "1; mode=block", + "Referrer-Policy" : "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy" : "default-src 'none'", + "X-GitHub-Request-Id" : "F352:2C77:84244F:9BB43E:5D79BE1A" + } + }, + "uuid" : "b18786c6-6f4d-49d9-87f6-3c07cb09f5b3", + "persistent" : true, + "scenarioName" : "scenario-1-user", + "requiredScenarioState" : "scenario-1-user-2", + "insertionIndex" : 2 +} \ No newline at end of file