diff --git a/src/main/java/org/kohsuke/github/GHTeam.java b/src/main/java/org/kohsuke/github/GHTeam.java index ef038fd2f2..143f63312f 100644 --- a/src/main/java/org/kohsuke/github/GHTeam.java +++ b/src/main/java/org/kohsuke/github/GHTeam.java @@ -1,6 +1,7 @@ package org.kohsuke.github; import edu.umd.cs.findbugs.annotations.SuppressFBWarnings; +import org.apache.commons.lang3.StringUtils; import java.io.IOException; import java.net.URL; @@ -211,7 +212,7 @@ public Set getMembers() throws IOException { */ public boolean hasMember(GHUser user) { try { - root().createRequest().withUrlPath("/teams/" + getId() + "/members/" + user.getLogin()).send(); + root().createRequest().withUrlPath(api("/memberships/" + user.getLogin())).send(); return true; } catch (IOException ignore) { return false; @@ -345,7 +346,13 @@ public void delete() throws IOException { } private String api(String tail) { - return "/teams/" + getId() + tail; + if (organization == null) { + // Teams returned from pull requests to do not have an organization. Attempt to use url. + final URL url = Objects.requireNonNull(getUrl(), "Missing instance URL!"); + return StringUtils.prependIfMissing(url.toString().replace(root().getApiUrl(), ""), "/") + tail; + } + + return "/organizations/" + organization.getId() + "/team/" + getId() + tail; } /** diff --git a/src/test/java/org/kohsuke/github/GHTeamTest.java b/src/test/java/org/kohsuke/github/GHTeamTest.java index 79c46058a0..eb81c0cae0 100644 --- a/src/test/java/org/kohsuke/github/GHTeamTest.java +++ b/src/test/java/org/kohsuke/github/GHTeamTest.java @@ -91,7 +91,9 @@ public void listMembersNoMatch() throws IOException { @Test public void testSetPrivacy() throws IOException { - String teamSlug = "dummy-team"; + // we need to use a team that doesn't have child teams + // as secret privacy is not supported for parent teams + String teamSlug = "simple-team"; Privacy privacy = Privacy.CLOSED; // Set the privacy. diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-11.json deleted file mode 100644 index c2ff66ebdb..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-11.json +++ /dev/null @@ -1,327 +0,0 @@ -[ - { - "name": "Cloud Native SIG", - "id": 2823398, - "node_id": "MDQ6VGVhbTI4MjMzOTg=", - "slug": "cloud-native-sig", - "description": "https://jenkins.io/sigs/cloud-native", - "privacy": "closed", - "url": "https://api.github.com/teams/2823398", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-native-sig", - "members_url": "https://api.github.com/teams/2823398/members{/member}", - "repositories_url": "https://api.github.com/teams/2823398/repos", - "permission": "pull" - }, - { - "name": "JEP Sponsors", - "id": 2832516, - "node_id": "MDQ6VGVhbTI4MzI1MTY=", - "slug": "jep-sponsors", - "description": "JEP Sponsors ", - "privacy": "closed", - "url": "https://api.github.com/teams/2832516", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-sponsors", - "members_url": "https://api.github.com/teams/2832516/members{/member}", - "repositories_url": "https://api.github.com/teams/2832516/repos", - "permission": "pull" - }, - { - "name": "JEP BDFL Delegates", - "id": 2832517, - "node_id": "MDQ6VGVhbTI4MzI1MTc=", - "slug": "jep-bdfl-delegates", - "description": "JEP BDFL Delegates", - "privacy": "closed", - "url": "https://api.github.com/teams/2832517", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-bdfl-delegates", - "members_url": "https://api.github.com/teams/2832517/members{/member}", - "repositories_url": "https://api.github.com/teams/2832517/repos", - "permission": "pull" - }, - { - "name": "Chinese Localization SIG", - "id": 2873273, - "node_id": "MDQ6VGVhbTI4NzMyNzM=", - "slug": "chinese-localization-sig", - "description": "https://jenkins.io/sigs/chinese-localization/", - "privacy": "closed", - "url": "https://api.github.com/teams/2873273", - "html_url": "https://github.com/orgs/jenkinsci/teams/chinese-localization-sig", - "members_url": "https://api.github.com/teams/2873273/members{/member}", - "repositories_url": "https://api.github.com/teams/2873273/repos", - "permission": "pull" - }, - { - "name": "branch-api-plugin Developers", - "id": 2934265, - "node_id": "MDQ6VGVhbTI5MzQyNjU=", - "slug": "branch-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2934265", - "html_url": "https://github.com/orgs/jenkinsci/teams/branch-api-plugin-developers", - "members_url": "https://api.github.com/teams/2934265/members{/member}", - "repositories_url": "https://api.github.com/teams/2934265/repos", - "permission": "pull" - }, - { - "name": "Java11 support", - "id": 2991889, - "node_id": "MDQ6VGVhbTI5OTE4ODk=", - "slug": "java11-support", - "description": "Java 11 Support Team (JEP-211)", - "privacy": "closed", - "url": "https://api.github.com/teams/2991889", - "html_url": "https://github.com/orgs/jenkinsci/teams/java11-support", - "members_url": "https://api.github.com/teams/2991889/members{/member}", - "repositories_url": "https://api.github.com/teams/2991889/repos", - "permission": "pull" - }, - { - "name": "audit-log-plugin Developers", - "id": 3023453, - "node_id": "MDQ6VGVhbTMwMjM0NTM=", - "slug": "audit-log-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/3023453", - "html_url": "https://github.com/orgs/jenkinsci/teams/audit-log-plugin-developers", - "members_url": "https://api.github.com/teams/3023453/members{/member}", - "repositories_url": "https://api.github.com/teams/3023453/repos", - "permission": "pull" - }, - { - "name": "SIG GSoC", - "id": 3055916, - "node_id": "MDQ6VGVhbTMwNTU5MTY=", - "slug": "sig-gsoc", - "description": "Google Summer if Code Special Ineterst Group", - "privacy": "closed", - "url": "https://api.github.com/teams/3055916", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-gsoc", - "members_url": "https://api.github.com/teams/3055916/members{/member}", - "repositories_url": "https://api.github.com/teams/3055916/repos", - "permission": "pull" - }, - { - "name": "DockerHub Admins", - "id": 3126598, - "node_id": "MDQ6VGVhbTMxMjY1OTg=", - "slug": "dockerhub-admins", - "description": "Team of DockerHub admins. Allows managing integrations and autobuilds in repos", - "privacy": "closed", - "url": "https://api.github.com/teams/3126598", - "html_url": "https://github.com/orgs/jenkinsci/teams/dockerhub-admins", - "members_url": "https://api.github.com/teams/3126598/members{/member}", - "repositories_url": "https://api.github.com/teams/3126598/repos", - "permission": "pull" - }, - { - "name": "netsparker-cloud-scan-plugin Admins", - "id": 3173032, - "node_id": "MDQ6VGVhbTMxNzMwMzI=", - "slug": "netsparker-cloud-scan-plugin-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3173032", - "html_url": "https://github.com/orgs/jenkinsci/teams/netsparker-cloud-scan-plugin-admins", - "members_url": "https://api.github.com/teams/3173032/members{/member}", - "repositories_url": "https://api.github.com/teams/3173032/repos", - "permission": "pull" - }, - { - "name": "github-admins", - "id": 3254222, - "node_id": "MDQ6VGVhbTMyNTQyMjI=", - "slug": "github-admins", - "description": "Administrators of the jenkinsci GitHub organization", - "privacy": "closed", - "url": "https://api.github.com/teams/3254222", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-admins", - "members_url": "https://api.github.com/teams/3254222/members{/member}", - "repositories_url": "https://api.github.com/teams/3254222/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-remoting", - "id": 3256632, - "node_id": "MDQ6VGVhbTMyNTY2MzI=", - "slug": "gsoc2019-remoting", - "description": "https://jenkins.io/projects/gsoc/2019/remoting-over-apache-kafka-docker-k8s-features/", - "privacy": "closed", - "url": "https://api.github.com/teams/3256632", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-remoting", - "members_url": "https://api.github.com/teams/3256632/members{/member}", - "repositories_url": "https://api.github.com/teams/3256632/repos", - "permission": "pull" - }, - { - "name": "Azure Devops Team", - "id": 3261120, - "node_id": "MDQ6VGVhbTMyNjExMjA=", - "slug": "azure-devops-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3261120", - "html_url": "https://github.com/orgs/jenkinsci/teams/azure-devops-team", - "members_url": "https://api.github.com/teams/3261120/members{/member}", - "repositories_url": "https://api.github.com/teams/3261120/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-all", - "id": 3261644, - "node_id": "MDQ6VGVhbTMyNjE2NDQ=", - "slug": "gsoc2019-all", - "description": "GSoC 2019 Students and Mentors", - "privacy": "closed", - "url": "https://api.github.com/teams/3261644", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-all", - "members_url": "https://api.github.com/teams/3261644/members{/member}", - "repositories_url": "https://api.github.com/teams/3261644/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-role-strategy", - "id": 3267262, - "node_id": "MDQ6VGVhbTMyNjcyNjI=", - "slug": "gsoc2019-role-strategy", - "description": "GSoC 2019: Role Strategy Performance improvements project members", - "privacy": "closed", - "url": "https://api.github.com/teams/3267262", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-role-strategy", - "members_url": "https://api.github.com/teams/3267262/members{/member}", - "repositories_url": "https://api.github.com/teams/3267262/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-promotion-for-pipeline", - "id": 3276774, - "node_id": "MDQ6VGVhbTMyNzY3NzQ=", - "slug": "gsoc2019-promotion-for-pipeline", - "description": "GSoC 2019 project members. Artifact promotion for Jenkins Pipeline. https://jenkins.io/projects/gsoc/2019/artifact-promotion-plugin-for-jenkins-pipeline/. ", - "privacy": "closed", - "url": "https://api.github.com/teams/3276774", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-promotion-for-pipeline", - "members_url": "https://api.github.com/teams/3276774/members{/member}", - "repositories_url": "https://api.github.com/teams/3276774/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-ext-workspace-manager-cloud-features", - "id": 3276806, - "node_id": "MDQ6VGVhbTMyNzY4MDY=", - "slug": "gsoc2019-ext-workspace-manager-cloud-features", - "description": "GSoC 2019 team for https://jenkins.io/projects/gsoc/2019/ext-workspace-manager-cloud-features/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276806", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-ext-workspace-manager-cloud-features", - "members_url": "https://api.github.com/teams/3276806/members{/member}", - "repositories_url": "https://api.github.com/teams/3276806/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-gitlab-multibranch-pipeline", - "id": 3276812, - "node_id": "MDQ6VGVhbTMyNzY4MTI=", - "slug": "gsoc2019-gitlab-multibranch-pipeline", - "description": "GSoC 2019 project. Multibranch Pipeline support for GitLab SCM. https://jenkins.io/projects/gsoc/2019/gitlab-support-for-multibranch-pipeline/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276812", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-gitlab-multibranch-pipeline", - "members_url": "https://api.github.com/teams/3276812/members{/member}", - "repositories_url": "https://api.github.com/teams/3276812/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-plugin-installation-manager", - "id": 3276815, - "node_id": "MDQ6VGVhbTMyNzY4MTU=", - "slug": "gsoc2019-plugin-installation-manager", - "description": "GSoC 2019 Project: Plugin Installation Manager CLI Tool / Library. https://jenkins.io/projects/gsoc/2019/plugin-installation-manager-tool-cli/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276815", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-plugin-installation-manager", - "members_url": "https://api.github.com/teams/3276815/members{/member}", - "repositories_url": "https://api.github.com/teams/3276815/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-working-hours", - "id": 3276817, - "node_id": "MDQ6VGVhbTMyNzY4MTc=", - "slug": "gsoc2019-working-hours", - "description": "GSoC 2019 project: Working Hours Plugin - UI Improvements. https://jenkins.io/projects/gsoc/2019/working-hours-improvements/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276817", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-working-hours", - "members_url": "https://api.github.com/teams/3276817/members{/member}", - "repositories_url": "https://api.github.com/teams/3276817/repos", - "permission": "pull" - }, - { - "name": "Checkmarx developers", - "id": 3296900, - "node_id": "MDQ6VGVhbTMyOTY5MDA=", - "slug": "checkmarx-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3296900", - "html_url": "https://github.com/orgs/jenkinsci/teams/checkmarx-developers", - "members_url": "https://api.github.com/teams/3296900/members{/member}", - "repositories_url": "https://api.github.com/teams/3296900/repos", - "permission": "pull" - }, - { - "name": "configuration-as-code-devtools-project-team", - "id": 3346208, - "node_id": "MDQ6VGVhbTMzNDYyMDg=", - "slug": "configuration-as-code-devtools-project-team", - "description": "Community Bridge project: Jenkins Configuation-as-Code developer tools (Autumn 2019)", - "privacy": "closed", - "url": "https://api.github.com/teams/3346208", - "html_url": "https://github.com/orgs/jenkinsci/teams/configuration-as-code-devtools-project-team", - "members_url": "https://api.github.com/teams/3346208/members{/member}", - "repositories_url": "https://api.github.com/teams/3346208/repos", - "permission": "pull" - }, - { - "name": "Devs", - "id": 3373539, - "node_id": "MDQ6VGVhbTMzNzM1Mzk=", - "slug": "devs", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3373539", - "html_url": "https://github.com/orgs/jenkinsci/teams/devs", - "members_url": "https://api.github.com/teams/3373539/members{/member}", - "repositories_url": "https://api.github.com/teams/3373539/repos", - "permission": "pull" - }, - { - "name": "DevOpsInsights", - "id": 3422181, - "node_id": "MDQ6VGVhbTM0MjIxODE=", - "slug": "devopsinsights", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3422181", - "html_url": "https://github.com/orgs/jenkinsci/teams/devopsinsights", - "members_url": "https://api.github.com/teams/3422181/members{/member}", - "repositories_url": "https://api.github.com/teams/3422181/repos", - "permission": "pull" - }, - { - "name": "Core PR Reviewers", - "id": 3428777, - "node_id": "MDQ6VGVhbTM0Mjg3Nzc=", - "slug": "core-pr-reviewers", - "description": "Jenkins Core Pull Request Reviewers. The team has Triage permissions in core repos", - "privacy": "closed", - "url": "https://api.github.com/teams/3428777", - "html_url": "https://github.com/orgs/jenkinsci/teams/core-pr-reviewers", - "members_url": "https://api.github.com/teams/3428777/members{/member}", - "repositories_url": "https://api.github.com/teams/3428777/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-20.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-20.json deleted file mode 100644 index c2ff66ebdb..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-20.json +++ /dev/null @@ -1,327 +0,0 @@ -[ - { - "name": "Cloud Native SIG", - "id": 2823398, - "node_id": "MDQ6VGVhbTI4MjMzOTg=", - "slug": "cloud-native-sig", - "description": "https://jenkins.io/sigs/cloud-native", - "privacy": "closed", - "url": "https://api.github.com/teams/2823398", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-native-sig", - "members_url": "https://api.github.com/teams/2823398/members{/member}", - "repositories_url": "https://api.github.com/teams/2823398/repos", - "permission": "pull" - }, - { - "name": "JEP Sponsors", - "id": 2832516, - "node_id": "MDQ6VGVhbTI4MzI1MTY=", - "slug": "jep-sponsors", - "description": "JEP Sponsors ", - "privacy": "closed", - "url": "https://api.github.com/teams/2832516", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-sponsors", - "members_url": "https://api.github.com/teams/2832516/members{/member}", - "repositories_url": "https://api.github.com/teams/2832516/repos", - "permission": "pull" - }, - { - "name": "JEP BDFL Delegates", - "id": 2832517, - "node_id": "MDQ6VGVhbTI4MzI1MTc=", - "slug": "jep-bdfl-delegates", - "description": "JEP BDFL Delegates", - "privacy": "closed", - "url": "https://api.github.com/teams/2832517", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-bdfl-delegates", - "members_url": "https://api.github.com/teams/2832517/members{/member}", - "repositories_url": "https://api.github.com/teams/2832517/repos", - "permission": "pull" - }, - { - "name": "Chinese Localization SIG", - "id": 2873273, - "node_id": "MDQ6VGVhbTI4NzMyNzM=", - "slug": "chinese-localization-sig", - "description": "https://jenkins.io/sigs/chinese-localization/", - "privacy": "closed", - "url": "https://api.github.com/teams/2873273", - "html_url": "https://github.com/orgs/jenkinsci/teams/chinese-localization-sig", - "members_url": "https://api.github.com/teams/2873273/members{/member}", - "repositories_url": "https://api.github.com/teams/2873273/repos", - "permission": "pull" - }, - { - "name": "branch-api-plugin Developers", - "id": 2934265, - "node_id": "MDQ6VGVhbTI5MzQyNjU=", - "slug": "branch-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2934265", - "html_url": "https://github.com/orgs/jenkinsci/teams/branch-api-plugin-developers", - "members_url": "https://api.github.com/teams/2934265/members{/member}", - "repositories_url": "https://api.github.com/teams/2934265/repos", - "permission": "pull" - }, - { - "name": "Java11 support", - "id": 2991889, - "node_id": "MDQ6VGVhbTI5OTE4ODk=", - "slug": "java11-support", - "description": "Java 11 Support Team (JEP-211)", - "privacy": "closed", - "url": "https://api.github.com/teams/2991889", - "html_url": "https://github.com/orgs/jenkinsci/teams/java11-support", - "members_url": "https://api.github.com/teams/2991889/members{/member}", - "repositories_url": "https://api.github.com/teams/2991889/repos", - "permission": "pull" - }, - { - "name": "audit-log-plugin Developers", - "id": 3023453, - "node_id": "MDQ6VGVhbTMwMjM0NTM=", - "slug": "audit-log-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/3023453", - "html_url": "https://github.com/orgs/jenkinsci/teams/audit-log-plugin-developers", - "members_url": "https://api.github.com/teams/3023453/members{/member}", - "repositories_url": "https://api.github.com/teams/3023453/repos", - "permission": "pull" - }, - { - "name": "SIG GSoC", - "id": 3055916, - "node_id": "MDQ6VGVhbTMwNTU5MTY=", - "slug": "sig-gsoc", - "description": "Google Summer if Code Special Ineterst Group", - "privacy": "closed", - "url": "https://api.github.com/teams/3055916", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-gsoc", - "members_url": "https://api.github.com/teams/3055916/members{/member}", - "repositories_url": "https://api.github.com/teams/3055916/repos", - "permission": "pull" - }, - { - "name": "DockerHub Admins", - "id": 3126598, - "node_id": "MDQ6VGVhbTMxMjY1OTg=", - "slug": "dockerhub-admins", - "description": "Team of DockerHub admins. Allows managing integrations and autobuilds in repos", - "privacy": "closed", - "url": "https://api.github.com/teams/3126598", - "html_url": "https://github.com/orgs/jenkinsci/teams/dockerhub-admins", - "members_url": "https://api.github.com/teams/3126598/members{/member}", - "repositories_url": "https://api.github.com/teams/3126598/repos", - "permission": "pull" - }, - { - "name": "netsparker-cloud-scan-plugin Admins", - "id": 3173032, - "node_id": "MDQ6VGVhbTMxNzMwMzI=", - "slug": "netsparker-cloud-scan-plugin-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3173032", - "html_url": "https://github.com/orgs/jenkinsci/teams/netsparker-cloud-scan-plugin-admins", - "members_url": "https://api.github.com/teams/3173032/members{/member}", - "repositories_url": "https://api.github.com/teams/3173032/repos", - "permission": "pull" - }, - { - "name": "github-admins", - "id": 3254222, - "node_id": "MDQ6VGVhbTMyNTQyMjI=", - "slug": "github-admins", - "description": "Administrators of the jenkinsci GitHub organization", - "privacy": "closed", - "url": "https://api.github.com/teams/3254222", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-admins", - "members_url": "https://api.github.com/teams/3254222/members{/member}", - "repositories_url": "https://api.github.com/teams/3254222/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-remoting", - "id": 3256632, - "node_id": "MDQ6VGVhbTMyNTY2MzI=", - "slug": "gsoc2019-remoting", - "description": "https://jenkins.io/projects/gsoc/2019/remoting-over-apache-kafka-docker-k8s-features/", - "privacy": "closed", - "url": "https://api.github.com/teams/3256632", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-remoting", - "members_url": "https://api.github.com/teams/3256632/members{/member}", - "repositories_url": "https://api.github.com/teams/3256632/repos", - "permission": "pull" - }, - { - "name": "Azure Devops Team", - "id": 3261120, - "node_id": "MDQ6VGVhbTMyNjExMjA=", - "slug": "azure-devops-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3261120", - "html_url": "https://github.com/orgs/jenkinsci/teams/azure-devops-team", - "members_url": "https://api.github.com/teams/3261120/members{/member}", - "repositories_url": "https://api.github.com/teams/3261120/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-all", - "id": 3261644, - "node_id": "MDQ6VGVhbTMyNjE2NDQ=", - "slug": "gsoc2019-all", - "description": "GSoC 2019 Students and Mentors", - "privacy": "closed", - "url": "https://api.github.com/teams/3261644", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-all", - "members_url": "https://api.github.com/teams/3261644/members{/member}", - "repositories_url": "https://api.github.com/teams/3261644/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-role-strategy", - "id": 3267262, - "node_id": "MDQ6VGVhbTMyNjcyNjI=", - "slug": "gsoc2019-role-strategy", - "description": "GSoC 2019: Role Strategy Performance improvements project members", - "privacy": "closed", - "url": "https://api.github.com/teams/3267262", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-role-strategy", - "members_url": "https://api.github.com/teams/3267262/members{/member}", - "repositories_url": "https://api.github.com/teams/3267262/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-promotion-for-pipeline", - "id": 3276774, - "node_id": "MDQ6VGVhbTMyNzY3NzQ=", - "slug": "gsoc2019-promotion-for-pipeline", - "description": "GSoC 2019 project members. Artifact promotion for Jenkins Pipeline. https://jenkins.io/projects/gsoc/2019/artifact-promotion-plugin-for-jenkins-pipeline/. ", - "privacy": "closed", - "url": "https://api.github.com/teams/3276774", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-promotion-for-pipeline", - "members_url": "https://api.github.com/teams/3276774/members{/member}", - "repositories_url": "https://api.github.com/teams/3276774/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-ext-workspace-manager-cloud-features", - "id": 3276806, - "node_id": "MDQ6VGVhbTMyNzY4MDY=", - "slug": "gsoc2019-ext-workspace-manager-cloud-features", - "description": "GSoC 2019 team for https://jenkins.io/projects/gsoc/2019/ext-workspace-manager-cloud-features/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276806", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-ext-workspace-manager-cloud-features", - "members_url": "https://api.github.com/teams/3276806/members{/member}", - "repositories_url": "https://api.github.com/teams/3276806/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-gitlab-multibranch-pipeline", - "id": 3276812, - "node_id": "MDQ6VGVhbTMyNzY4MTI=", - "slug": "gsoc2019-gitlab-multibranch-pipeline", - "description": "GSoC 2019 project. Multibranch Pipeline support for GitLab SCM. https://jenkins.io/projects/gsoc/2019/gitlab-support-for-multibranch-pipeline/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276812", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-gitlab-multibranch-pipeline", - "members_url": "https://api.github.com/teams/3276812/members{/member}", - "repositories_url": "https://api.github.com/teams/3276812/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-plugin-installation-manager", - "id": 3276815, - "node_id": "MDQ6VGVhbTMyNzY4MTU=", - "slug": "gsoc2019-plugin-installation-manager", - "description": "GSoC 2019 Project: Plugin Installation Manager CLI Tool / Library. https://jenkins.io/projects/gsoc/2019/plugin-installation-manager-tool-cli/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276815", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-plugin-installation-manager", - "members_url": "https://api.github.com/teams/3276815/members{/member}", - "repositories_url": "https://api.github.com/teams/3276815/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-working-hours", - "id": 3276817, - "node_id": "MDQ6VGVhbTMyNzY4MTc=", - "slug": "gsoc2019-working-hours", - "description": "GSoC 2019 project: Working Hours Plugin - UI Improvements. https://jenkins.io/projects/gsoc/2019/working-hours-improvements/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276817", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-working-hours", - "members_url": "https://api.github.com/teams/3276817/members{/member}", - "repositories_url": "https://api.github.com/teams/3276817/repos", - "permission": "pull" - }, - { - "name": "Checkmarx developers", - "id": 3296900, - "node_id": "MDQ6VGVhbTMyOTY5MDA=", - "slug": "checkmarx-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3296900", - "html_url": "https://github.com/orgs/jenkinsci/teams/checkmarx-developers", - "members_url": "https://api.github.com/teams/3296900/members{/member}", - "repositories_url": "https://api.github.com/teams/3296900/repos", - "permission": "pull" - }, - { - "name": "configuration-as-code-devtools-project-team", - "id": 3346208, - "node_id": "MDQ6VGVhbTMzNDYyMDg=", - "slug": "configuration-as-code-devtools-project-team", - "description": "Community Bridge project: Jenkins Configuation-as-Code developer tools (Autumn 2019)", - "privacy": "closed", - "url": "https://api.github.com/teams/3346208", - "html_url": "https://github.com/orgs/jenkinsci/teams/configuration-as-code-devtools-project-team", - "members_url": "https://api.github.com/teams/3346208/members{/member}", - "repositories_url": "https://api.github.com/teams/3346208/repos", - "permission": "pull" - }, - { - "name": "Devs", - "id": 3373539, - "node_id": "MDQ6VGVhbTMzNzM1Mzk=", - "slug": "devs", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3373539", - "html_url": "https://github.com/orgs/jenkinsci/teams/devs", - "members_url": "https://api.github.com/teams/3373539/members{/member}", - "repositories_url": "https://api.github.com/teams/3373539/repos", - "permission": "pull" - }, - { - "name": "DevOpsInsights", - "id": 3422181, - "node_id": "MDQ6VGVhbTM0MjIxODE=", - "slug": "devopsinsights", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3422181", - "html_url": "https://github.com/orgs/jenkinsci/teams/devopsinsights", - "members_url": "https://api.github.com/teams/3422181/members{/member}", - "repositories_url": "https://api.github.com/teams/3422181/repos", - "permission": "pull" - }, - { - "name": "Core PR Reviewers", - "id": 3428777, - "node_id": "MDQ6VGVhbTM0Mjg3Nzc=", - "slug": "core-pr-reviewers", - "description": "Jenkins Core Pull Request Reviewers. The team has Triage permissions in core repos", - "privacy": "closed", - "url": "https://api.github.com/teams/3428777", - "html_url": "https://github.com/orgs/jenkinsci/teams/core-pr-reviewers", - "members_url": "https://api.github.com/teams/3428777/members{/member}", - "repositories_url": "https://api.github.com/teams/3428777/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-23.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-23.json deleted file mode 100644 index c2ff66ebdb..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-23.json +++ /dev/null @@ -1,327 +0,0 @@ -[ - { - "name": "Cloud Native SIG", - "id": 2823398, - "node_id": "MDQ6VGVhbTI4MjMzOTg=", - "slug": "cloud-native-sig", - "description": "https://jenkins.io/sigs/cloud-native", - "privacy": "closed", - "url": "https://api.github.com/teams/2823398", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-native-sig", - "members_url": "https://api.github.com/teams/2823398/members{/member}", - "repositories_url": "https://api.github.com/teams/2823398/repos", - "permission": "pull" - }, - { - "name": "JEP Sponsors", - "id": 2832516, - "node_id": "MDQ6VGVhbTI4MzI1MTY=", - "slug": "jep-sponsors", - "description": "JEP Sponsors ", - "privacy": "closed", - "url": "https://api.github.com/teams/2832516", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-sponsors", - "members_url": "https://api.github.com/teams/2832516/members{/member}", - "repositories_url": "https://api.github.com/teams/2832516/repos", - "permission": "pull" - }, - { - "name": "JEP BDFL Delegates", - "id": 2832517, - "node_id": "MDQ6VGVhbTI4MzI1MTc=", - "slug": "jep-bdfl-delegates", - "description": "JEP BDFL Delegates", - "privacy": "closed", - "url": "https://api.github.com/teams/2832517", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-bdfl-delegates", - "members_url": "https://api.github.com/teams/2832517/members{/member}", - "repositories_url": "https://api.github.com/teams/2832517/repos", - "permission": "pull" - }, - { - "name": "Chinese Localization SIG", - "id": 2873273, - "node_id": "MDQ6VGVhbTI4NzMyNzM=", - "slug": "chinese-localization-sig", - "description": "https://jenkins.io/sigs/chinese-localization/", - "privacy": "closed", - "url": "https://api.github.com/teams/2873273", - "html_url": "https://github.com/orgs/jenkinsci/teams/chinese-localization-sig", - "members_url": "https://api.github.com/teams/2873273/members{/member}", - "repositories_url": "https://api.github.com/teams/2873273/repos", - "permission": "pull" - }, - { - "name": "branch-api-plugin Developers", - "id": 2934265, - "node_id": "MDQ6VGVhbTI5MzQyNjU=", - "slug": "branch-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2934265", - "html_url": "https://github.com/orgs/jenkinsci/teams/branch-api-plugin-developers", - "members_url": "https://api.github.com/teams/2934265/members{/member}", - "repositories_url": "https://api.github.com/teams/2934265/repos", - "permission": "pull" - }, - { - "name": "Java11 support", - "id": 2991889, - "node_id": "MDQ6VGVhbTI5OTE4ODk=", - "slug": "java11-support", - "description": "Java 11 Support Team (JEP-211)", - "privacy": "closed", - "url": "https://api.github.com/teams/2991889", - "html_url": "https://github.com/orgs/jenkinsci/teams/java11-support", - "members_url": "https://api.github.com/teams/2991889/members{/member}", - "repositories_url": "https://api.github.com/teams/2991889/repos", - "permission": "pull" - }, - { - "name": "audit-log-plugin Developers", - "id": 3023453, - "node_id": "MDQ6VGVhbTMwMjM0NTM=", - "slug": "audit-log-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/3023453", - "html_url": "https://github.com/orgs/jenkinsci/teams/audit-log-plugin-developers", - "members_url": "https://api.github.com/teams/3023453/members{/member}", - "repositories_url": "https://api.github.com/teams/3023453/repos", - "permission": "pull" - }, - { - "name": "SIG GSoC", - "id": 3055916, - "node_id": "MDQ6VGVhbTMwNTU5MTY=", - "slug": "sig-gsoc", - "description": "Google Summer if Code Special Ineterst Group", - "privacy": "closed", - "url": "https://api.github.com/teams/3055916", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-gsoc", - "members_url": "https://api.github.com/teams/3055916/members{/member}", - "repositories_url": "https://api.github.com/teams/3055916/repos", - "permission": "pull" - }, - { - "name": "DockerHub Admins", - "id": 3126598, - "node_id": "MDQ6VGVhbTMxMjY1OTg=", - "slug": "dockerhub-admins", - "description": "Team of DockerHub admins. Allows managing integrations and autobuilds in repos", - "privacy": "closed", - "url": "https://api.github.com/teams/3126598", - "html_url": "https://github.com/orgs/jenkinsci/teams/dockerhub-admins", - "members_url": "https://api.github.com/teams/3126598/members{/member}", - "repositories_url": "https://api.github.com/teams/3126598/repos", - "permission": "pull" - }, - { - "name": "netsparker-cloud-scan-plugin Admins", - "id": 3173032, - "node_id": "MDQ6VGVhbTMxNzMwMzI=", - "slug": "netsparker-cloud-scan-plugin-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3173032", - "html_url": "https://github.com/orgs/jenkinsci/teams/netsparker-cloud-scan-plugin-admins", - "members_url": "https://api.github.com/teams/3173032/members{/member}", - "repositories_url": "https://api.github.com/teams/3173032/repos", - "permission": "pull" - }, - { - "name": "github-admins", - "id": 3254222, - "node_id": "MDQ6VGVhbTMyNTQyMjI=", - "slug": "github-admins", - "description": "Administrators of the jenkinsci GitHub organization", - "privacy": "closed", - "url": "https://api.github.com/teams/3254222", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-admins", - "members_url": "https://api.github.com/teams/3254222/members{/member}", - "repositories_url": "https://api.github.com/teams/3254222/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-remoting", - "id": 3256632, - "node_id": "MDQ6VGVhbTMyNTY2MzI=", - "slug": "gsoc2019-remoting", - "description": "https://jenkins.io/projects/gsoc/2019/remoting-over-apache-kafka-docker-k8s-features/", - "privacy": "closed", - "url": "https://api.github.com/teams/3256632", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-remoting", - "members_url": "https://api.github.com/teams/3256632/members{/member}", - "repositories_url": "https://api.github.com/teams/3256632/repos", - "permission": "pull" - }, - { - "name": "Azure Devops Team", - "id": 3261120, - "node_id": "MDQ6VGVhbTMyNjExMjA=", - "slug": "azure-devops-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3261120", - "html_url": "https://github.com/orgs/jenkinsci/teams/azure-devops-team", - "members_url": "https://api.github.com/teams/3261120/members{/member}", - "repositories_url": "https://api.github.com/teams/3261120/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-all", - "id": 3261644, - "node_id": "MDQ6VGVhbTMyNjE2NDQ=", - "slug": "gsoc2019-all", - "description": "GSoC 2019 Students and Mentors", - "privacy": "closed", - "url": "https://api.github.com/teams/3261644", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-all", - "members_url": "https://api.github.com/teams/3261644/members{/member}", - "repositories_url": "https://api.github.com/teams/3261644/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-role-strategy", - "id": 3267262, - "node_id": "MDQ6VGVhbTMyNjcyNjI=", - "slug": "gsoc2019-role-strategy", - "description": "GSoC 2019: Role Strategy Performance improvements project members", - "privacy": "closed", - "url": "https://api.github.com/teams/3267262", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-role-strategy", - "members_url": "https://api.github.com/teams/3267262/members{/member}", - "repositories_url": "https://api.github.com/teams/3267262/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-promotion-for-pipeline", - "id": 3276774, - "node_id": "MDQ6VGVhbTMyNzY3NzQ=", - "slug": "gsoc2019-promotion-for-pipeline", - "description": "GSoC 2019 project members. Artifact promotion for Jenkins Pipeline. https://jenkins.io/projects/gsoc/2019/artifact-promotion-plugin-for-jenkins-pipeline/. ", - "privacy": "closed", - "url": "https://api.github.com/teams/3276774", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-promotion-for-pipeline", - "members_url": "https://api.github.com/teams/3276774/members{/member}", - "repositories_url": "https://api.github.com/teams/3276774/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-ext-workspace-manager-cloud-features", - "id": 3276806, - "node_id": "MDQ6VGVhbTMyNzY4MDY=", - "slug": "gsoc2019-ext-workspace-manager-cloud-features", - "description": "GSoC 2019 team for https://jenkins.io/projects/gsoc/2019/ext-workspace-manager-cloud-features/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276806", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-ext-workspace-manager-cloud-features", - "members_url": "https://api.github.com/teams/3276806/members{/member}", - "repositories_url": "https://api.github.com/teams/3276806/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-gitlab-multibranch-pipeline", - "id": 3276812, - "node_id": "MDQ6VGVhbTMyNzY4MTI=", - "slug": "gsoc2019-gitlab-multibranch-pipeline", - "description": "GSoC 2019 project. Multibranch Pipeline support for GitLab SCM. https://jenkins.io/projects/gsoc/2019/gitlab-support-for-multibranch-pipeline/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276812", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-gitlab-multibranch-pipeline", - "members_url": "https://api.github.com/teams/3276812/members{/member}", - "repositories_url": "https://api.github.com/teams/3276812/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-plugin-installation-manager", - "id": 3276815, - "node_id": "MDQ6VGVhbTMyNzY4MTU=", - "slug": "gsoc2019-plugin-installation-manager", - "description": "GSoC 2019 Project: Plugin Installation Manager CLI Tool / Library. https://jenkins.io/projects/gsoc/2019/plugin-installation-manager-tool-cli/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276815", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-plugin-installation-manager", - "members_url": "https://api.github.com/teams/3276815/members{/member}", - "repositories_url": "https://api.github.com/teams/3276815/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-working-hours", - "id": 3276817, - "node_id": "MDQ6VGVhbTMyNzY4MTc=", - "slug": "gsoc2019-working-hours", - "description": "GSoC 2019 project: Working Hours Plugin - UI Improvements. https://jenkins.io/projects/gsoc/2019/working-hours-improvements/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276817", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-working-hours", - "members_url": "https://api.github.com/teams/3276817/members{/member}", - "repositories_url": "https://api.github.com/teams/3276817/repos", - "permission": "pull" - }, - { - "name": "Checkmarx developers", - "id": 3296900, - "node_id": "MDQ6VGVhbTMyOTY5MDA=", - "slug": "checkmarx-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3296900", - "html_url": "https://github.com/orgs/jenkinsci/teams/checkmarx-developers", - "members_url": "https://api.github.com/teams/3296900/members{/member}", - "repositories_url": "https://api.github.com/teams/3296900/repos", - "permission": "pull" - }, - { - "name": "configuration-as-code-devtools-project-team", - "id": 3346208, - "node_id": "MDQ6VGVhbTMzNDYyMDg=", - "slug": "configuration-as-code-devtools-project-team", - "description": "Community Bridge project: Jenkins Configuation-as-Code developer tools (Autumn 2019)", - "privacy": "closed", - "url": "https://api.github.com/teams/3346208", - "html_url": "https://github.com/orgs/jenkinsci/teams/configuration-as-code-devtools-project-team", - "members_url": "https://api.github.com/teams/3346208/members{/member}", - "repositories_url": "https://api.github.com/teams/3346208/repos", - "permission": "pull" - }, - { - "name": "Devs", - "id": 3373539, - "node_id": "MDQ6VGVhbTMzNzM1Mzk=", - "slug": "devs", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3373539", - "html_url": "https://github.com/orgs/jenkinsci/teams/devs", - "members_url": "https://api.github.com/teams/3373539/members{/member}", - "repositories_url": "https://api.github.com/teams/3373539/repos", - "permission": "pull" - }, - { - "name": "DevOpsInsights", - "id": 3422181, - "node_id": "MDQ6VGVhbTM0MjIxODE=", - "slug": "devopsinsights", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3422181", - "html_url": "https://github.com/orgs/jenkinsci/teams/devopsinsights", - "members_url": "https://api.github.com/teams/3422181/members{/member}", - "repositories_url": "https://api.github.com/teams/3422181/repos", - "permission": "pull" - }, - { - "name": "Core PR Reviewers", - "id": 3428777, - "node_id": "MDQ6VGVhbTM0Mjg3Nzc=", - "slug": "core-pr-reviewers", - "description": "Jenkins Core Pull Request Reviewers. The team has Triage permissions in core repos", - "privacy": "closed", - "url": "https://api.github.com/teams/3428777", - "html_url": "https://github.com/orgs/jenkinsci/teams/core-pr-reviewers", - "members_url": "https://api.github.com/teams/3428777/members{/member}", - "repositories_url": "https://api.github.com/teams/3428777/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-26.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-26.json deleted file mode 100644 index c2ff66ebdb..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_107424_teams-26.json +++ /dev/null @@ -1,327 +0,0 @@ -[ - { - "name": "Cloud Native SIG", - "id": 2823398, - "node_id": "MDQ6VGVhbTI4MjMzOTg=", - "slug": "cloud-native-sig", - "description": "https://jenkins.io/sigs/cloud-native", - "privacy": "closed", - "url": "https://api.github.com/teams/2823398", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-native-sig", - "members_url": "https://api.github.com/teams/2823398/members{/member}", - "repositories_url": "https://api.github.com/teams/2823398/repos", - "permission": "pull" - }, - { - "name": "JEP Sponsors", - "id": 2832516, - "node_id": "MDQ6VGVhbTI4MzI1MTY=", - "slug": "jep-sponsors", - "description": "JEP Sponsors ", - "privacy": "closed", - "url": "https://api.github.com/teams/2832516", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-sponsors", - "members_url": "https://api.github.com/teams/2832516/members{/member}", - "repositories_url": "https://api.github.com/teams/2832516/repos", - "permission": "pull" - }, - { - "name": "JEP BDFL Delegates", - "id": 2832517, - "node_id": "MDQ6VGVhbTI4MzI1MTc=", - "slug": "jep-bdfl-delegates", - "description": "JEP BDFL Delegates", - "privacy": "closed", - "url": "https://api.github.com/teams/2832517", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-bdfl-delegates", - "members_url": "https://api.github.com/teams/2832517/members{/member}", - "repositories_url": "https://api.github.com/teams/2832517/repos", - "permission": "pull" - }, - { - "name": "Chinese Localization SIG", - "id": 2873273, - "node_id": "MDQ6VGVhbTI4NzMyNzM=", - "slug": "chinese-localization-sig", - "description": "https://jenkins.io/sigs/chinese-localization/", - "privacy": "closed", - "url": "https://api.github.com/teams/2873273", - "html_url": "https://github.com/orgs/jenkinsci/teams/chinese-localization-sig", - "members_url": "https://api.github.com/teams/2873273/members{/member}", - "repositories_url": "https://api.github.com/teams/2873273/repos", - "permission": "pull" - }, - { - "name": "branch-api-plugin Developers", - "id": 2934265, - "node_id": "MDQ6VGVhbTI5MzQyNjU=", - "slug": "branch-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2934265", - "html_url": "https://github.com/orgs/jenkinsci/teams/branch-api-plugin-developers", - "members_url": "https://api.github.com/teams/2934265/members{/member}", - "repositories_url": "https://api.github.com/teams/2934265/repos", - "permission": "pull" - }, - { - "name": "Java11 support", - "id": 2991889, - "node_id": "MDQ6VGVhbTI5OTE4ODk=", - "slug": "java11-support", - "description": "Java 11 Support Team (JEP-211)", - "privacy": "closed", - "url": "https://api.github.com/teams/2991889", - "html_url": "https://github.com/orgs/jenkinsci/teams/java11-support", - "members_url": "https://api.github.com/teams/2991889/members{/member}", - "repositories_url": "https://api.github.com/teams/2991889/repos", - "permission": "pull" - }, - { - "name": "audit-log-plugin Developers", - "id": 3023453, - "node_id": "MDQ6VGVhbTMwMjM0NTM=", - "slug": "audit-log-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/3023453", - "html_url": "https://github.com/orgs/jenkinsci/teams/audit-log-plugin-developers", - "members_url": "https://api.github.com/teams/3023453/members{/member}", - "repositories_url": "https://api.github.com/teams/3023453/repos", - "permission": "pull" - }, - { - "name": "SIG GSoC", - "id": 3055916, - "node_id": "MDQ6VGVhbTMwNTU5MTY=", - "slug": "sig-gsoc", - "description": "Google Summer if Code Special Ineterst Group", - "privacy": "closed", - "url": "https://api.github.com/teams/3055916", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-gsoc", - "members_url": "https://api.github.com/teams/3055916/members{/member}", - "repositories_url": "https://api.github.com/teams/3055916/repos", - "permission": "pull" - }, - { - "name": "DockerHub Admins", - "id": 3126598, - "node_id": "MDQ6VGVhbTMxMjY1OTg=", - "slug": "dockerhub-admins", - "description": "Team of DockerHub admins. Allows managing integrations and autobuilds in repos", - "privacy": "closed", - "url": "https://api.github.com/teams/3126598", - "html_url": "https://github.com/orgs/jenkinsci/teams/dockerhub-admins", - "members_url": "https://api.github.com/teams/3126598/members{/member}", - "repositories_url": "https://api.github.com/teams/3126598/repos", - "permission": "pull" - }, - { - "name": "netsparker-cloud-scan-plugin Admins", - "id": 3173032, - "node_id": "MDQ6VGVhbTMxNzMwMzI=", - "slug": "netsparker-cloud-scan-plugin-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3173032", - "html_url": "https://github.com/orgs/jenkinsci/teams/netsparker-cloud-scan-plugin-admins", - "members_url": "https://api.github.com/teams/3173032/members{/member}", - "repositories_url": "https://api.github.com/teams/3173032/repos", - "permission": "pull" - }, - { - "name": "github-admins", - "id": 3254222, - "node_id": "MDQ6VGVhbTMyNTQyMjI=", - "slug": "github-admins", - "description": "Administrators of the jenkinsci GitHub organization", - "privacy": "closed", - "url": "https://api.github.com/teams/3254222", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-admins", - "members_url": "https://api.github.com/teams/3254222/members{/member}", - "repositories_url": "https://api.github.com/teams/3254222/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-remoting", - "id": 3256632, - "node_id": "MDQ6VGVhbTMyNTY2MzI=", - "slug": "gsoc2019-remoting", - "description": "https://jenkins.io/projects/gsoc/2019/remoting-over-apache-kafka-docker-k8s-features/", - "privacy": "closed", - "url": "https://api.github.com/teams/3256632", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-remoting", - "members_url": "https://api.github.com/teams/3256632/members{/member}", - "repositories_url": "https://api.github.com/teams/3256632/repos", - "permission": "pull" - }, - { - "name": "Azure Devops Team", - "id": 3261120, - "node_id": "MDQ6VGVhbTMyNjExMjA=", - "slug": "azure-devops-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3261120", - "html_url": "https://github.com/orgs/jenkinsci/teams/azure-devops-team", - "members_url": "https://api.github.com/teams/3261120/members{/member}", - "repositories_url": "https://api.github.com/teams/3261120/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-all", - "id": 3261644, - "node_id": "MDQ6VGVhbTMyNjE2NDQ=", - "slug": "gsoc2019-all", - "description": "GSoC 2019 Students and Mentors", - "privacy": "closed", - "url": "https://api.github.com/teams/3261644", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-all", - "members_url": "https://api.github.com/teams/3261644/members{/member}", - "repositories_url": "https://api.github.com/teams/3261644/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-role-strategy", - "id": 3267262, - "node_id": "MDQ6VGVhbTMyNjcyNjI=", - "slug": "gsoc2019-role-strategy", - "description": "GSoC 2019: Role Strategy Performance improvements project members", - "privacy": "closed", - "url": "https://api.github.com/teams/3267262", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-role-strategy", - "members_url": "https://api.github.com/teams/3267262/members{/member}", - "repositories_url": "https://api.github.com/teams/3267262/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-promotion-for-pipeline", - "id": 3276774, - "node_id": "MDQ6VGVhbTMyNzY3NzQ=", - "slug": "gsoc2019-promotion-for-pipeline", - "description": "GSoC 2019 project members. Artifact promotion for Jenkins Pipeline. https://jenkins.io/projects/gsoc/2019/artifact-promotion-plugin-for-jenkins-pipeline/. ", - "privacy": "closed", - "url": "https://api.github.com/teams/3276774", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-promotion-for-pipeline", - "members_url": "https://api.github.com/teams/3276774/members{/member}", - "repositories_url": "https://api.github.com/teams/3276774/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-ext-workspace-manager-cloud-features", - "id": 3276806, - "node_id": "MDQ6VGVhbTMyNzY4MDY=", - "slug": "gsoc2019-ext-workspace-manager-cloud-features", - "description": "GSoC 2019 team for https://jenkins.io/projects/gsoc/2019/ext-workspace-manager-cloud-features/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276806", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-ext-workspace-manager-cloud-features", - "members_url": "https://api.github.com/teams/3276806/members{/member}", - "repositories_url": "https://api.github.com/teams/3276806/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-gitlab-multibranch-pipeline", - "id": 3276812, - "node_id": "MDQ6VGVhbTMyNzY4MTI=", - "slug": "gsoc2019-gitlab-multibranch-pipeline", - "description": "GSoC 2019 project. Multibranch Pipeline support for GitLab SCM. https://jenkins.io/projects/gsoc/2019/gitlab-support-for-multibranch-pipeline/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276812", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-gitlab-multibranch-pipeline", - "members_url": "https://api.github.com/teams/3276812/members{/member}", - "repositories_url": "https://api.github.com/teams/3276812/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-plugin-installation-manager", - "id": 3276815, - "node_id": "MDQ6VGVhbTMyNzY4MTU=", - "slug": "gsoc2019-plugin-installation-manager", - "description": "GSoC 2019 Project: Plugin Installation Manager CLI Tool / Library. https://jenkins.io/projects/gsoc/2019/plugin-installation-manager-tool-cli/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276815", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-plugin-installation-manager", - "members_url": "https://api.github.com/teams/3276815/members{/member}", - "repositories_url": "https://api.github.com/teams/3276815/repos", - "permission": "pull" - }, - { - "name": "gsoc2019-working-hours", - "id": 3276817, - "node_id": "MDQ6VGVhbTMyNzY4MTc=", - "slug": "gsoc2019-working-hours", - "description": "GSoC 2019 project: Working Hours Plugin - UI Improvements. https://jenkins.io/projects/gsoc/2019/working-hours-improvements/", - "privacy": "closed", - "url": "https://api.github.com/teams/3276817", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc2019-working-hours", - "members_url": "https://api.github.com/teams/3276817/members{/member}", - "repositories_url": "https://api.github.com/teams/3276817/repos", - "permission": "pull" - }, - { - "name": "Checkmarx developers", - "id": 3296900, - "node_id": "MDQ6VGVhbTMyOTY5MDA=", - "slug": "checkmarx-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3296900", - "html_url": "https://github.com/orgs/jenkinsci/teams/checkmarx-developers", - "members_url": "https://api.github.com/teams/3296900/members{/member}", - "repositories_url": "https://api.github.com/teams/3296900/repos", - "permission": "pull" - }, - { - "name": "configuration-as-code-devtools-project-team", - "id": 3346208, - "node_id": "MDQ6VGVhbTMzNDYyMDg=", - "slug": "configuration-as-code-devtools-project-team", - "description": "Community Bridge project: Jenkins Configuation-as-Code developer tools (Autumn 2019)", - "privacy": "closed", - "url": "https://api.github.com/teams/3346208", - "html_url": "https://github.com/orgs/jenkinsci/teams/configuration-as-code-devtools-project-team", - "members_url": "https://api.github.com/teams/3346208/members{/member}", - "repositories_url": "https://api.github.com/teams/3346208/repos", - "permission": "pull" - }, - { - "name": "Devs", - "id": 3373539, - "node_id": "MDQ6VGVhbTMzNzM1Mzk=", - "slug": "devs", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3373539", - "html_url": "https://github.com/orgs/jenkinsci/teams/devs", - "members_url": "https://api.github.com/teams/3373539/members{/member}", - "repositories_url": "https://api.github.com/teams/3373539/repos", - "permission": "pull" - }, - { - "name": "DevOpsInsights", - "id": 3422181, - "node_id": "MDQ6VGVhbTM0MjIxODE=", - "slug": "devopsinsights", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3422181", - "html_url": "https://github.com/orgs/jenkinsci/teams/devopsinsights", - "members_url": "https://api.github.com/teams/3422181/members{/member}", - "repositories_url": "https://api.github.com/teams/3422181/repos", - "permission": "pull" - }, - { - "name": "Core PR Reviewers", - "id": 3428777, - "node_id": "MDQ6VGVhbTM0Mjg3Nzc=", - "slug": "core-pr-reviewers", - "description": "Jenkins Core Pull Request Reviewers. The team has Triage permissions in core repos", - "privacy": "closed", - "url": "https://api.github.com/teams/3428777", - "html_url": "https://github.com/orgs/jenkinsci/teams/core-pr-reviewers", - "members_url": "https://api.github.com/teams/3428777/members{/member}", - "repositories_url": "https://api.github.com/teams/3428777/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_11033755_teams-48.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_11033755_teams-48.json new file mode 100644 index 0000000000..0ee376d5ea --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_11033755_teams-48.json @@ -0,0 +1,460 @@ +[ + { + "name": "code-quarkus", + "id": 3673101, + "node_id": "MDQ6VGVhbTM2NzMxMDE=", + "slug": "code-quarkus", + "description": "Red Hat Code Quarkus Team", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3673101", + "html_url": "https://github.com/orgs/redhat-developer/teams/code-quarkus", + "members_url": "https://api.github.com/organizations/11033755/team/3673101/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3673101/repos", + "permission": "pull", + "parent": null + }, + { + "name": "buildv2-admins", + "id": 3698931, + "node_id": "MDQ6VGVhbTM2OTg5MzE=", + "slug": "buildv2-admins", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3698931", + "html_url": "https://github.com/orgs/redhat-developer/teams/buildv2-admins", + "members_url": "https://api.github.com/organizations/11033755/team/3698931/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3698931/repos", + "permission": "pull", + "parent": null + }, + { + "name": "buildv2-contributors", + "id": 3703728, + "node_id": "MDQ6VGVhbTM3MDM3Mjg=", + "slug": "buildv2-contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3703728", + "html_url": "https://github.com/orgs/redhat-developer/teams/buildv2-contributors", + "members_url": "https://api.github.com/organizations/11033755/team/3703728/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3703728/repos", + "permission": "pull", + "parent": null + }, + { + "name": "datagrid-tutorial-team", + "id": 3742584, + "node_id": "MDQ6VGVhbTM3NDI1ODQ=", + "slug": "datagrid-tutorial-team", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3742584", + "html_url": "https://github.com/orgs/redhat-developer/teams/datagrid-tutorial-team", + "members_url": "https://api.github.com/organizations/11033755/team/3742584/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3742584/repos", + "permission": "pull", + "parent": null + }, + { + "name": "service-binding", + "id": 3788184, + "node_id": "MDQ6VGVhbTM3ODgxODQ=", + "slug": "service-binding", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3788184", + "html_url": "https://github.com/orgs/redhat-developer/teams/service-binding", + "members_url": "https://api.github.com/organizations/11033755/team/3788184/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3788184/repos", + "permission": "pull", + "parent": null + }, + { + "name": "rsp", + "id": 3995353, + "node_id": "MDQ6VGVhbTM5OTUzNTM=", + "slug": "rsp", + "description": "RSP team", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3995353", + "html_url": "https://github.com/orgs/redhat-developer/teams/rsp", + "members_url": "https://api.github.com/organizations/11033755/team/3995353/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3995353/repos", + "permission": "pull", + "parent": null + }, + { + "name": "yaml-lsp", + "id": 4011394, + "node_id": "MDQ6VGVhbTQwMTEzOTQ=", + "slug": "yaml-lsp", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4011394", + "html_url": "https://github.com/orgs/redhat-developer/teams/yaml-lsp", + "members_url": "https://api.github.com/organizations/11033755/team/4011394/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4011394/repos", + "permission": "pull", + "parent": null + }, + { + "name": "gitops", + "id": 4076411, + "node_id": "MDQ6VGVhbTQwNzY0MTE=", + "slug": "gitops", + "description": "OpenShift GitOps Team", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4076411", + "html_url": "https://github.com/orgs/redhat-developer/teams/gitops", + "members_url": "https://api.github.com/organizations/11033755/team/4076411/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4076411/repos", + "permission": "pull", + "parent": { + "name": "openshift-dev-services", + "id": 3336664, + "node_id": "MDQ6VGVhbTMzMzY2NjQ=", + "slug": "openshift-dev-services", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3336664", + "html_url": "https://github.com/orgs/redhat-developer/teams/openshift-dev-services", + "members_url": "https://api.github.com/organizations/11033755/team/3336664/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3336664/repos", + "permission": "pull" + } + }, + { + "name": "ibm-partner-engineers", + "id": 4077455, + "node_id": "MDQ6VGVhbTQwNzc0NTU=", + "slug": "ibm-partner-engineers", + "description": "IBM Partner Engineers", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4077455", + "html_url": "https://github.com/orgs/redhat-developer/teams/ibm-partner-engineers", + "members_url": "https://api.github.com/organizations/11033755/team/4077455/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4077455/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Devtools App Services", + "id": 4270062, + "node_id": "MDQ6VGVhbTQyNzAwNjI=", + "slug": "devtools-app-services", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4270062", + "html_url": "https://github.com/orgs/redhat-developer/teams/devtools-app-services", + "members_url": "https://api.github.com/organizations/11033755/team/4270062/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4270062/repos", + "permission": "pull", + "parent": { + "name": "openshift-dev-services", + "id": 3336664, + "node_id": "MDQ6VGVhbTMzMzY2NjQ=", + "slug": "openshift-dev-services", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3336664", + "html_url": "https://github.com/orgs/redhat-developer/teams/openshift-dev-services", + "members_url": "https://api.github.com/organizations/11033755/team/3336664/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3336664/repos", + "permission": "pull" + } + }, + { + "name": "redhat-helm-charts-catalog-maintainers", + "id": 4301961, + "node_id": "MDQ6VGVhbTQzMDE5NjE=", + "slug": "redhat-helm-charts-catalog-maintainers", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4301961", + "html_url": "https://github.com/orgs/redhat-developer/teams/redhat-helm-charts-catalog-maintainers", + "members_url": "https://api.github.com/organizations/11033755/team/4301961/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4301961/repos", + "permission": "pull", + "parent": null + }, + { + "name": "openshift-ci", + "id": 4371889, + "node_id": "MDQ6VGVhbTQzNzE4ODk=", + "slug": "openshift-ci", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4371889", + "html_url": "https://github.com/orgs/redhat-developer/teams/openshift-ci", + "members_url": "https://api.github.com/organizations/11033755/team/4371889/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4371889/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-services", + "id": 4705307, + "node_id": "MDQ6VGVhbTQ3MDUzMDc=", + "slug": "app-services", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4705307", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services", + "members_url": "https://api.github.com/organizations/11033755/team/4705307/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4705307/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-services-admin", + "id": 4705321, + "node_id": "MDQ6VGVhbTQ3MDUzMjE=", + "slug": "app-services-admin", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4705321", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services-admin", + "members_url": "https://api.github.com/organizations/11033755/team/4705321/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4705321/repos", + "permission": "pull", + "parent": { + "name": "app-services", + "id": 4705307, + "node_id": "MDQ6VGVhbTQ3MDUzMDc=", + "slug": "app-services", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4705307", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services", + "members_url": "https://api.github.com/organizations/11033755/team/4705307/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4705307/repos", + "permission": "pull" + } + }, + { + "name": "app-services-ci", + "id": 4806568, + "node_id": "MDQ6VGVhbTQ4MDY1Njg=", + "slug": "app-services-ci", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4806568", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services-ci", + "members_url": "https://api.github.com/organizations/11033755/team/4806568/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4806568/repos", + "permission": "pull", + "parent": { + "name": "app-services", + "id": 4705307, + "node_id": "MDQ6VGVhbTQ3MDUzMDc=", + "slug": "app-services", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4705307", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services", + "members_url": "https://api.github.com/organizations/11033755/team/4705307/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4705307/repos", + "permission": "pull" + } + }, + { + "name": "OpenShift-AppService", + "id": 4826838, + "node_id": "MDQ6VGVhbTQ4MjY4Mzg=", + "slug": "openshift-appservice", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4826838", + "html_url": "https://github.com/orgs/redhat-developer/teams/openshift-appservice", + "members_url": "https://api.github.com/organizations/11033755/team/4826838/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4826838/repos", + "permission": "pull", + "parent": null + }, + { + "name": "AppServices-Admin", + "id": 4826865, + "node_id": "MDQ6VGVhbTQ4MjY4NjU=", + "slug": "appservices-admin", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4826865", + "html_url": "https://github.com/orgs/redhat-developer/teams/appservices-admin", + "members_url": "https://api.github.com/organizations/11033755/team/4826865/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4826865/repos", + "permission": "pull", + "parent": { + "name": "OpenShift-AppService", + "id": 4826838, + "node_id": "MDQ6VGVhbTQ4MjY4Mzg=", + "slug": "openshift-appservice", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4826838", + "html_url": "https://github.com/orgs/redhat-developer/teams/openshift-appservice", + "members_url": "https://api.github.com/organizations/11033755/team/4826838/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4826838/repos", + "permission": "pull" + } + }, + { + "name": "knative", + "id": 4891831, + "node_id": "MDQ6VGVhbTQ4OTE4MzE=", + "slug": "knative", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4891831", + "html_url": "https://github.com/orgs/redhat-developer/teams/knative", + "members_url": "https://api.github.com/organizations/11033755/team/4891831/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4891831/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-services-ui", + "id": 5145278, + "node_id": "T_kwDOAKhcm84AToK-", + "slug": "app-services-ui", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/5145278", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services-ui", + "members_url": "https://api.github.com/organizations/11033755/team/5145278/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/5145278/repos", + "permission": "pull", + "parent": { + "name": "app-services", + "id": 4705307, + "node_id": "MDQ6VGVhbTQ3MDUzMDc=", + "slug": "app-services", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4705307", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services", + "members_url": "https://api.github.com/organizations/11033755/team/4705307/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4705307/repos", + "permission": "pull" + } + }, + { + "name": "app-services-devexp", + "id": 5480307, + "node_id": "T_kwDOAKhcm84AU59z", + "slug": "app-services-devexp", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/5480307", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services-devexp", + "members_url": "https://api.github.com/organizations/11033755/team/5480307/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/5480307/repos", + "permission": "pull", + "parent": { + "name": "app-services", + "id": 4705307, + "node_id": "MDQ6VGVhbTQ3MDUzMDc=", + "slug": "app-services", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4705307", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services", + "members_url": "https://api.github.com/organizations/11033755/team/4705307/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4705307/repos", + "permission": "pull" + } + }, + { + "name": "app-services-docs", + "id": 5486226, + "node_id": "T_kwDOAKhcm84AU7aS", + "slug": "app-services-docs", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/5486226", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services-docs", + "members_url": "https://api.github.com/organizations/11033755/team/5486226/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/5486226/repos", + "permission": "pull", + "parent": { + "name": "app-services", + "id": 4705307, + "node_id": "MDQ6VGVhbTQ3MDUzMDc=", + "slug": "app-services", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/4705307", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services", + "members_url": "https://api.github.com/organizations/11033755/team/4705307/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/4705307/repos", + "permission": "pull" + } + }, + { + "name": "app-services-cli-maintainers", + "id": 5530554, + "node_id": "T_kwDOAKhcm84AVGO6", + "slug": "app-services-cli-maintainers", + "description": "Maintainers of the RHOAS CLI", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/5530554", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services-cli-maintainers", + "members_url": "https://api.github.com/organizations/11033755/team/5530554/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/5530554/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-services-uxd", + "id": 5622571, + "node_id": "T_kwDOAKhcm84AVcsr", + "slug": "app-services-uxd", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/5622571", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-services-uxd", + "members_url": "https://api.github.com/organizations/11033755/team/5622571/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/5622571/repos", + "permission": "pull", + "parent": null + }, + { + "name": "odo", + "id": 5688050, + "node_id": "T_kwDOAKhcm84AVsry", + "slug": "odo", + "description": "People involved in developing odo", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/5688050", + "html_url": "https://github.com/orgs/redhat-developer/teams/odo", + "members_url": "https://api.github.com/organizations/11033755/team/5688050/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/5688050/repos", + "permission": "pull", + "parent": null + }, + { + "name": "odo-qe", + "id": 5688057, + "node_id": "T_kwDOAKhcm84AVsr5", + "slug": "odo-qe", + "description": "Quality Engineers working on odo", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/5688057", + "html_url": "https://github.com/orgs/redhat-developer/teams/odo-qe", + "members_url": "https://api.github.com/organizations/11033755/team/5688057/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/5688057/repos", + "permission": "pull", + "parent": { + "name": "odo", + "id": 5688050, + "node_id": "T_kwDOAKhcm84AVsry", + "slug": "odo", + "description": "People involved in developing odo", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/5688050", + "html_url": "https://github.com/orgs/redhat-developer/teams/odo", + "members_url": "https://api.github.com/organizations/11033755/team/5688050/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/5688050/repos", + "permission": "pull" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_235526_teams-35.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_235526_teams-35.json deleted file mode 100644 index 1f3e086149..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_235526_teams-35.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "cjt-reviewers", - "id": 2384901, - "node_id": "MDQ6VGVhbTIzODQ5MDE=", - "slug": "cjt-reviewers", - "description": "CJT Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384901", - "html_url": "https://github.com/orgs/cloudbees/teams/cjt-reviewers", - "members_url": "https://api.github.com/teams/2384901/members{/member}", - "repositories_url": "https://api.github.com/teams/2384901/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Reviewers", - "id": 2384906, - "node_id": "MDQ6VGVhbTIzODQ5MDY=", - "slug": "legacy-training-reviewers", - "description": "Training Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384906", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-reviewers", - "members_url": "https://api.github.com/teams/2384906/members{/member}", - "repositories_url": "https://api.github.com/teams/2384906/repos", - "permission": "pull" - }, - { - "name": "team-jarvis", - "id": 2418831, - "node_id": "MDQ6VGVhbTI0MTg4MzE=", - "slug": "team-jarvis", - "description": "JARVIS team", - "privacy": "closed", - "url": "https://api.github.com/teams/2418831", - "html_url": "https://github.com/orgs/cloudbees/teams/team-jarvis", - "members_url": "https://api.github.com/teams/2418831/members{/member}", - "repositories_url": "https://api.github.com/teams/2418831/repos", - "permission": "pull" - }, - { - "name": "team-csm", - "id": 2520559, - "node_id": "MDQ6VGVhbTI1MjA1NTk=", - "slug": "team-csm", - "description": "Customer Success Mhrrmrmrms", - "privacy": "closed", - "url": "https://api.github.com/teams/2520559", - "html_url": "https://github.com/orgs/cloudbees/teams/team-csm", - "members_url": "https://api.github.com/teams/2520559/members{/member}", - "repositories_url": "https://api.github.com/teams/2520559/repos", - "permission": "pull" - }, - { - "name": "team-design", - "id": 2601805, - "node_id": "MDQ6VGVhbTI2MDE4MDU=", - "slug": "team-design", - "description": "Product Design Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2601805", - "html_url": "https://github.com/orgs/cloudbees/teams/team-design", - "members_url": "https://api.github.com/teams/2601805/members{/member}", - "repositories_url": "https://api.github.com/teams/2601805/repos", - "permission": "pull" - }, - { - "name": "team-cloud-cd", - "id": 2628091, - "node_id": "MDQ6VGVhbTI2MjgwOTE=", - "slug": "team-cloud-cd", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2628091", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloud-cd", - "members_url": "https://api.github.com/teams/2628091/members{/member}", - "repositories_url": "https://api.github.com/teams/2628091/repos", - "permission": "pull" - }, - { - "name": "team-arc", - "id": 2655014, - "node_id": "MDQ6VGVhbTI2NTUwMTQ=", - "slug": "team-arc", - "description": "ARC team members", - "privacy": "closed", - "url": "https://api.github.com/teams/2655014", - "html_url": "https://github.com/orgs/cloudbees/teams/team-arc", - "members_url": "https://api.github.com/teams/2655014/members{/member}", - "repositories_url": "https://api.github.com/teams/2655014/repos", - "permission": "pull" - }, - { - "name": "team-cjp", - "id": 2703359, - "node_id": "MDQ6VGVhbTI3MDMzNTk=", - "slug": "team-cjp", - "description": "Members of a new CJP Team working on CJP product", - "privacy": "closed", - "url": "https://api.github.com/teams/2703359", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cjp", - "members_url": "https://api.github.com/teams/2703359/members{/member}", - "repositories_url": "https://api.github.com/teams/2703359/repos", - "permission": "pull" - }, - { - "name": "Architecture Team Bots", - "id": 2729438, - "node_id": "MDQ6VGVhbTI3Mjk0Mzg=", - "slug": "architecture-team-bots", - "description": "Bots being used by Architecture team in its repos", - "privacy": "closed", - "url": "https://api.github.com/teams/2729438", - "html_url": "https://github.com/orgs/cloudbees/teams/architecture-team-bots", - "members_url": "https://api.github.com/teams/2729438/members{/member}", - "repositories_url": "https://api.github.com/teams/2729438/repos", - "permission": "pull" - }, - { - "name": "team-release-administrators", - "id": 2790066, - "node_id": "MDQ6VGVhbTI3OTAwNjY=", - "slug": "team-release-administrators", - "description": "Senior Release Team Members", - "privacy": "closed", - "url": "https://api.github.com/teams/2790066", - "html_url": "https://github.com/orgs/cloudbees/teams/team-release-administrators", - "members_url": "https://api.github.com/teams/2790066/members{/member}", - "repositories_url": "https://api.github.com/teams/2790066/repos", - "permission": "pull" - }, - { - "name": "core-ux", - "id": 2793992, - "node_id": "MDQ6VGVhbTI3OTM5OTI=", - "slug": "core-ux", - "description": "Core UX", - "privacy": "closed", - "url": "https://api.github.com/teams/2793992", - "html_url": "https://github.com/orgs/cloudbees/teams/core-ux", - "members_url": "https://api.github.com/teams/2793992/members{/member}", - "repositories_url": "https://api.github.com/teams/2793992/repos", - "permission": "pull" - }, - { - "name": "team-cloudbeesdotcom", - "id": 2798267, - "node_id": "MDQ6VGVhbTI3OTgyNjc=", - "slug": "team-cloudbeesdotcom", - "description": "team-cloudbeesdotcom", - "privacy": "closed", - "url": "https://api.github.com/teams/2798267", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloudbeesdotcom", - "members_url": "https://api.github.com/teams/2798267/members{/member}", - "repositories_url": "https://api.github.com/teams/2798267/repos", - "permission": "pull" - }, - { - "name": "Team Foundation", - "id": 2809309, - "node_id": "MDQ6VGVhbTI4MDkzMDk=", - "slug": "team-foundation", - "description": "Jenkins Foundation Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2809309", - "html_url": "https://github.com/orgs/cloudbees/teams/team-foundation", - "members_url": "https://api.github.com/teams/2809309/members{/member}", - "repositories_url": "https://api.github.com/teams/2809309/repos", - "permission": "pull" - }, - { - "name": "codeship", - "id": 2879573, - "node_id": "MDQ6VGVhbTI4Nzk1NzM=", - "slug": "codeship", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2879573", - "html_url": "https://github.com/orgs/cloudbees/teams/codeship", - "members_url": "https://api.github.com/teams/2879573/members{/member}", - "repositories_url": "https://api.github.com/teams/2879573/repos", - "permission": "pull" - }, - { - "name": "pipeline-team", - "id": 2915408, - "node_id": "MDQ6VGVhbTI5MTU0MDg=", - "slug": "pipeline-team", - "description": "pipeline team", - "privacy": "closed", - "url": "https://api.github.com/teams/2915408", - "html_url": "https://github.com/orgs/cloudbees/teams/pipeline-team", - "members_url": "https://api.github.com/teams/2915408/members{/member}", - "repositories_url": "https://api.github.com/teams/2915408/repos", - "permission": "pull" - }, - { - "name": "team-docs", - "id": 2924752, - "node_id": "MDQ6VGVhbTI5MjQ3NTI=", - "slug": "team-docs", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2924752", - "html_url": "https://github.com/orgs/cloudbees/teams/team-docs", - "members_url": "https://api.github.com/teams/2924752/members{/member}", - "repositories_url": "https://api.github.com/teams/2924752/repos", - "permission": "pull" - }, - { - "name": "team-cd-process", - "id": 2974003, - "node_id": "MDQ6VGVhbTI5NzQwMDM=", - "slug": "team-cd-process", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2974003", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cd-process", - "members_url": "https://api.github.com/teams/2974003/members{/member}", - "repositories_url": "https://api.github.com/teams/2974003/repos", - "permission": "pull" - }, - { - "name": "team-apps", - "id": 3033568, - "node_id": "MDQ6VGVhbTMwMzM1Njg=", - "slug": "team-apps", - "description": "CloudBees Apps team", - "privacy": "closed", - "url": "https://api.github.com/teams/3033568", - "html_url": "https://github.com/orgs/cloudbees/teams/team-apps", - "members_url": "https://api.github.com/teams/3033568/members{/member}", - "repositories_url": "https://api.github.com/teams/3033568/repos", - "permission": "pull" - }, - { - "name": "test-romen", - "id": 3049841, - "node_id": "MDQ6VGVhbTMwNDk4NDE=", - "slug": "test-romen", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3049841", - "html_url": "https://github.com/orgs/cloudbees/teams/test-romen", - "members_url": "https://api.github.com/teams/3049841/members{/member}", - "repositories_url": "https://api.github.com/teams/3049841/repos", - "permission": "pull" - }, - { - "name": "Training Organization", - "id": 3052519, - "node_id": "MDQ6VGVhbTMwNTI1MTk=", - "slug": "training-organization", - "description": "\"Parent\" group for the Training Organization. This group only defines which the shared repositories are.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052519", - "html_url": "https://github.com/orgs/cloudbees/teams/training-organization", - "members_url": "https://api.github.com/teams/3052519/members{/member}", - "repositories_url": "https://api.github.com/teams/3052519/repos", - "permission": "pull" - }, - { - "name": "Training Internals", - "id": 3052521, - "node_id": "MDQ6VGVhbTMwNTI1MjE=", - "slug": "training-internals", - "description": "Group to define permissions over repositories for training admins. Members defined in subgroups.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052521", - "html_url": "https://github.com/orgs/cloudbees/teams/training-internals", - "members_url": "https://api.github.com/teams/3052521/members{/member}", - "repositories_url": "https://api.github.com/teams/3052521/repos", - "permission": "pull" - }, - { - "name": "Training Contributors", - "id": 3052522, - "node_id": "MDQ6VGVhbTMwNTI1MjI=", - "slug": "training-contributors", - "description": "Group to define permissions over repositories for training contributors. Members defined in subgroups.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052522", - "html_url": "https://github.com/orgs/cloudbees/teams/training-contributors", - "members_url": "https://api.github.com/teams/3052522/members{/member}", - "repositories_url": "https://api.github.com/teams/3052522/repos", - "permission": "pull" - }, - { - "name": "Training Reviewers", - "id": 3052609, - "node_id": "MDQ6VGVhbTMwNTI2MDk=", - "slug": "training-reviewers", - "description": "Group to define permissions over repositories for training reviewers. Members defined in subgroups.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052609", - "html_url": "https://github.com/orgs/cloudbees/teams/training-reviewers", - "members_url": "https://api.github.com/teams/3052609/members{/member}", - "repositories_url": "https://api.github.com/teams/3052609/repos", - "permission": "pull" - }, - { - "name": "Training Internals Admins", - "id": 3052615, - "node_id": "MDQ6VGVhbTMwNTI2MTU=", - "slug": "training-internals-admins", - "description": "Members of CloudBees Training Team. Admins of Training Repositories", - "privacy": "closed", - "url": "https://api.github.com/teams/3052615", - "html_url": "https://github.com/orgs/cloudbees/teams/training-internals-admins", - "members_url": "https://api.github.com/teams/3052615/members{/member}", - "repositories_url": "https://api.github.com/teams/3052615/repos", - "permission": "pull" - }, - { - "name": "Training Reviewers CloudBees", - "id": 3066889, - "node_id": "MDQ6VGVhbTMwNjY4ODk=", - "slug": "training-reviewers-cloudbees", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3066889", - "html_url": "https://github.com/orgs/cloudbees/teams/training-reviewers-cloudbees", - "members_url": "https://api.github.com/teams/3066889/members{/member}", - "repositories_url": "https://api.github.com/teams/3066889/repos", - "permission": "pull" - }, - { - "name": "Training Internals Reviewers", - "id": 3066904, - "node_id": "MDQ6VGVhbTMwNjY5MDQ=", - "slug": "training-internals-reviewers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3066904", - "html_url": "https://github.com/orgs/cloudbees/teams/training-internals-reviewers", - "members_url": "https://api.github.com/teams/3066904/members{/member}", - "repositories_url": "https://api.github.com/teams/3066904/repos", - "permission": "pull" - }, - { - "name": "Training Contributors CloudBees", - "id": 3075591, - "node_id": "MDQ6VGVhbTMwNzU1OTE=", - "slug": "training-contributors-cloudbees", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3075591", - "html_url": "https://github.com/orgs/cloudbees/teams/training-contributors-cloudbees", - "members_url": "https://api.github.com/teams/3075591/members{/member}", - "repositories_url": "https://api.github.com/teams/3075591/repos", - "permission": "pull" - }, - { - "name": "Training Reviewers Partners", - "id": 3075793, - "node_id": "MDQ6VGVhbTMwNzU3OTM=", - "slug": "training-reviewers-partners", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3075793", - "html_url": "https://github.com/orgs/cloudbees/teams/training-reviewers-partners", - "members_url": "https://api.github.com/teams/3075793/members{/member}", - "repositories_url": "https://api.github.com/teams/3075793/repos", - "permission": "pull" - }, - { - "name": "Certification Reviewers", - "id": 3136781, - "node_id": "MDQ6VGVhbTMxMzY3ODE=", - "slug": "certification-reviewers", - "description": "Group for all those associated with the Certification Review process", - "privacy": "closed", - "url": "https://api.github.com/teams/3136781", - "html_url": "https://github.com/orgs/cloudbees/teams/certification-reviewers", - "members_url": "https://api.github.com/teams/3136781/members{/member}", - "repositories_url": "https://api.github.com/teams/3136781/repos", - "permission": "pull" - }, - { - "name": "team-tsm", - "id": 3198019, - "node_id": "MDQ6VGVhbTMxOTgwMTk=", - "slug": "team-tsm", - "description": "Support TSMs", - "privacy": "closed", - "url": "https://api.github.com/teams/3198019", - "html_url": "https://github.com/orgs/cloudbees/teams/team-tsm", - "members_url": "https://api.github.com/teams/3198019/members{/member}", - "repositories_url": "https://api.github.com/teams/3198019/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_235526_teams-44.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_235526_teams-44.json deleted file mode 100644 index 1f3e086149..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_235526_teams-44.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "cjt-reviewers", - "id": 2384901, - "node_id": "MDQ6VGVhbTIzODQ5MDE=", - "slug": "cjt-reviewers", - "description": "CJT Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384901", - "html_url": "https://github.com/orgs/cloudbees/teams/cjt-reviewers", - "members_url": "https://api.github.com/teams/2384901/members{/member}", - "repositories_url": "https://api.github.com/teams/2384901/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Reviewers", - "id": 2384906, - "node_id": "MDQ6VGVhbTIzODQ5MDY=", - "slug": "legacy-training-reviewers", - "description": "Training Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384906", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-reviewers", - "members_url": "https://api.github.com/teams/2384906/members{/member}", - "repositories_url": "https://api.github.com/teams/2384906/repos", - "permission": "pull" - }, - { - "name": "team-jarvis", - "id": 2418831, - "node_id": "MDQ6VGVhbTI0MTg4MzE=", - "slug": "team-jarvis", - "description": "JARVIS team", - "privacy": "closed", - "url": "https://api.github.com/teams/2418831", - "html_url": "https://github.com/orgs/cloudbees/teams/team-jarvis", - "members_url": "https://api.github.com/teams/2418831/members{/member}", - "repositories_url": "https://api.github.com/teams/2418831/repos", - "permission": "pull" - }, - { - "name": "team-csm", - "id": 2520559, - "node_id": "MDQ6VGVhbTI1MjA1NTk=", - "slug": "team-csm", - "description": "Customer Success Mhrrmrmrms", - "privacy": "closed", - "url": "https://api.github.com/teams/2520559", - "html_url": "https://github.com/orgs/cloudbees/teams/team-csm", - "members_url": "https://api.github.com/teams/2520559/members{/member}", - "repositories_url": "https://api.github.com/teams/2520559/repos", - "permission": "pull" - }, - { - "name": "team-design", - "id": 2601805, - "node_id": "MDQ6VGVhbTI2MDE4MDU=", - "slug": "team-design", - "description": "Product Design Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2601805", - "html_url": "https://github.com/orgs/cloudbees/teams/team-design", - "members_url": "https://api.github.com/teams/2601805/members{/member}", - "repositories_url": "https://api.github.com/teams/2601805/repos", - "permission": "pull" - }, - { - "name": "team-cloud-cd", - "id": 2628091, - "node_id": "MDQ6VGVhbTI2MjgwOTE=", - "slug": "team-cloud-cd", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2628091", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloud-cd", - "members_url": "https://api.github.com/teams/2628091/members{/member}", - "repositories_url": "https://api.github.com/teams/2628091/repos", - "permission": "pull" - }, - { - "name": "team-arc", - "id": 2655014, - "node_id": "MDQ6VGVhbTI2NTUwMTQ=", - "slug": "team-arc", - "description": "ARC team members", - "privacy": "closed", - "url": "https://api.github.com/teams/2655014", - "html_url": "https://github.com/orgs/cloudbees/teams/team-arc", - "members_url": "https://api.github.com/teams/2655014/members{/member}", - "repositories_url": "https://api.github.com/teams/2655014/repos", - "permission": "pull" - }, - { - "name": "team-cjp", - "id": 2703359, - "node_id": "MDQ6VGVhbTI3MDMzNTk=", - "slug": "team-cjp", - "description": "Members of a new CJP Team working on CJP product", - "privacy": "closed", - "url": "https://api.github.com/teams/2703359", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cjp", - "members_url": "https://api.github.com/teams/2703359/members{/member}", - "repositories_url": "https://api.github.com/teams/2703359/repos", - "permission": "pull" - }, - { - "name": "Architecture Team Bots", - "id": 2729438, - "node_id": "MDQ6VGVhbTI3Mjk0Mzg=", - "slug": "architecture-team-bots", - "description": "Bots being used by Architecture team in its repos", - "privacy": "closed", - "url": "https://api.github.com/teams/2729438", - "html_url": "https://github.com/orgs/cloudbees/teams/architecture-team-bots", - "members_url": "https://api.github.com/teams/2729438/members{/member}", - "repositories_url": "https://api.github.com/teams/2729438/repos", - "permission": "pull" - }, - { - "name": "team-release-administrators", - "id": 2790066, - "node_id": "MDQ6VGVhbTI3OTAwNjY=", - "slug": "team-release-administrators", - "description": "Senior Release Team Members", - "privacy": "closed", - "url": "https://api.github.com/teams/2790066", - "html_url": "https://github.com/orgs/cloudbees/teams/team-release-administrators", - "members_url": "https://api.github.com/teams/2790066/members{/member}", - "repositories_url": "https://api.github.com/teams/2790066/repos", - "permission": "pull" - }, - { - "name": "core-ux", - "id": 2793992, - "node_id": "MDQ6VGVhbTI3OTM5OTI=", - "slug": "core-ux", - "description": "Core UX", - "privacy": "closed", - "url": "https://api.github.com/teams/2793992", - "html_url": "https://github.com/orgs/cloudbees/teams/core-ux", - "members_url": "https://api.github.com/teams/2793992/members{/member}", - "repositories_url": "https://api.github.com/teams/2793992/repos", - "permission": "pull" - }, - { - "name": "team-cloudbeesdotcom", - "id": 2798267, - "node_id": "MDQ6VGVhbTI3OTgyNjc=", - "slug": "team-cloudbeesdotcom", - "description": "team-cloudbeesdotcom", - "privacy": "closed", - "url": "https://api.github.com/teams/2798267", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloudbeesdotcom", - "members_url": "https://api.github.com/teams/2798267/members{/member}", - "repositories_url": "https://api.github.com/teams/2798267/repos", - "permission": "pull" - }, - { - "name": "Team Foundation", - "id": 2809309, - "node_id": "MDQ6VGVhbTI4MDkzMDk=", - "slug": "team-foundation", - "description": "Jenkins Foundation Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2809309", - "html_url": "https://github.com/orgs/cloudbees/teams/team-foundation", - "members_url": "https://api.github.com/teams/2809309/members{/member}", - "repositories_url": "https://api.github.com/teams/2809309/repos", - "permission": "pull" - }, - { - "name": "codeship", - "id": 2879573, - "node_id": "MDQ6VGVhbTI4Nzk1NzM=", - "slug": "codeship", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2879573", - "html_url": "https://github.com/orgs/cloudbees/teams/codeship", - "members_url": "https://api.github.com/teams/2879573/members{/member}", - "repositories_url": "https://api.github.com/teams/2879573/repos", - "permission": "pull" - }, - { - "name": "pipeline-team", - "id": 2915408, - "node_id": "MDQ6VGVhbTI5MTU0MDg=", - "slug": "pipeline-team", - "description": "pipeline team", - "privacy": "closed", - "url": "https://api.github.com/teams/2915408", - "html_url": "https://github.com/orgs/cloudbees/teams/pipeline-team", - "members_url": "https://api.github.com/teams/2915408/members{/member}", - "repositories_url": "https://api.github.com/teams/2915408/repos", - "permission": "pull" - }, - { - "name": "team-docs", - "id": 2924752, - "node_id": "MDQ6VGVhbTI5MjQ3NTI=", - "slug": "team-docs", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2924752", - "html_url": "https://github.com/orgs/cloudbees/teams/team-docs", - "members_url": "https://api.github.com/teams/2924752/members{/member}", - "repositories_url": "https://api.github.com/teams/2924752/repos", - "permission": "pull" - }, - { - "name": "team-cd-process", - "id": 2974003, - "node_id": "MDQ6VGVhbTI5NzQwMDM=", - "slug": "team-cd-process", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2974003", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cd-process", - "members_url": "https://api.github.com/teams/2974003/members{/member}", - "repositories_url": "https://api.github.com/teams/2974003/repos", - "permission": "pull" - }, - { - "name": "team-apps", - "id": 3033568, - "node_id": "MDQ6VGVhbTMwMzM1Njg=", - "slug": "team-apps", - "description": "CloudBees Apps team", - "privacy": "closed", - "url": "https://api.github.com/teams/3033568", - "html_url": "https://github.com/orgs/cloudbees/teams/team-apps", - "members_url": "https://api.github.com/teams/3033568/members{/member}", - "repositories_url": "https://api.github.com/teams/3033568/repos", - "permission": "pull" - }, - { - "name": "test-romen", - "id": 3049841, - "node_id": "MDQ6VGVhbTMwNDk4NDE=", - "slug": "test-romen", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3049841", - "html_url": "https://github.com/orgs/cloudbees/teams/test-romen", - "members_url": "https://api.github.com/teams/3049841/members{/member}", - "repositories_url": "https://api.github.com/teams/3049841/repos", - "permission": "pull" - }, - { - "name": "Training Organization", - "id": 3052519, - "node_id": "MDQ6VGVhbTMwNTI1MTk=", - "slug": "training-organization", - "description": "\"Parent\" group for the Training Organization. This group only defines which the shared repositories are.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052519", - "html_url": "https://github.com/orgs/cloudbees/teams/training-organization", - "members_url": "https://api.github.com/teams/3052519/members{/member}", - "repositories_url": "https://api.github.com/teams/3052519/repos", - "permission": "pull" - }, - { - "name": "Training Internals", - "id": 3052521, - "node_id": "MDQ6VGVhbTMwNTI1MjE=", - "slug": "training-internals", - "description": "Group to define permissions over repositories for training admins. Members defined in subgroups.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052521", - "html_url": "https://github.com/orgs/cloudbees/teams/training-internals", - "members_url": "https://api.github.com/teams/3052521/members{/member}", - "repositories_url": "https://api.github.com/teams/3052521/repos", - "permission": "pull" - }, - { - "name": "Training Contributors", - "id": 3052522, - "node_id": "MDQ6VGVhbTMwNTI1MjI=", - "slug": "training-contributors", - "description": "Group to define permissions over repositories for training contributors. Members defined in subgroups.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052522", - "html_url": "https://github.com/orgs/cloudbees/teams/training-contributors", - "members_url": "https://api.github.com/teams/3052522/members{/member}", - "repositories_url": "https://api.github.com/teams/3052522/repos", - "permission": "pull" - }, - { - "name": "Training Reviewers", - "id": 3052609, - "node_id": "MDQ6VGVhbTMwNTI2MDk=", - "slug": "training-reviewers", - "description": "Group to define permissions over repositories for training reviewers. Members defined in subgroups.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052609", - "html_url": "https://github.com/orgs/cloudbees/teams/training-reviewers", - "members_url": "https://api.github.com/teams/3052609/members{/member}", - "repositories_url": "https://api.github.com/teams/3052609/repos", - "permission": "pull" - }, - { - "name": "Training Internals Admins", - "id": 3052615, - "node_id": "MDQ6VGVhbTMwNTI2MTU=", - "slug": "training-internals-admins", - "description": "Members of CloudBees Training Team. Admins of Training Repositories", - "privacy": "closed", - "url": "https://api.github.com/teams/3052615", - "html_url": "https://github.com/orgs/cloudbees/teams/training-internals-admins", - "members_url": "https://api.github.com/teams/3052615/members{/member}", - "repositories_url": "https://api.github.com/teams/3052615/repos", - "permission": "pull" - }, - { - "name": "Training Reviewers CloudBees", - "id": 3066889, - "node_id": "MDQ6VGVhbTMwNjY4ODk=", - "slug": "training-reviewers-cloudbees", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3066889", - "html_url": "https://github.com/orgs/cloudbees/teams/training-reviewers-cloudbees", - "members_url": "https://api.github.com/teams/3066889/members{/member}", - "repositories_url": "https://api.github.com/teams/3066889/repos", - "permission": "pull" - }, - { - "name": "Training Internals Reviewers", - "id": 3066904, - "node_id": "MDQ6VGVhbTMwNjY5MDQ=", - "slug": "training-internals-reviewers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3066904", - "html_url": "https://github.com/orgs/cloudbees/teams/training-internals-reviewers", - "members_url": "https://api.github.com/teams/3066904/members{/member}", - "repositories_url": "https://api.github.com/teams/3066904/repos", - "permission": "pull" - }, - { - "name": "Training Contributors CloudBees", - "id": 3075591, - "node_id": "MDQ6VGVhbTMwNzU1OTE=", - "slug": "training-contributors-cloudbees", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3075591", - "html_url": "https://github.com/orgs/cloudbees/teams/training-contributors-cloudbees", - "members_url": "https://api.github.com/teams/3075591/members{/member}", - "repositories_url": "https://api.github.com/teams/3075591/repos", - "permission": "pull" - }, - { - "name": "Training Reviewers Partners", - "id": 3075793, - "node_id": "MDQ6VGVhbTMwNzU3OTM=", - "slug": "training-reviewers-partners", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3075793", - "html_url": "https://github.com/orgs/cloudbees/teams/training-reviewers-partners", - "members_url": "https://api.github.com/teams/3075793/members{/member}", - "repositories_url": "https://api.github.com/teams/3075793/repos", - "permission": "pull" - }, - { - "name": "Certification Reviewers", - "id": 3136781, - "node_id": "MDQ6VGVhbTMxMzY3ODE=", - "slug": "certification-reviewers", - "description": "Group for all those associated with the Certification Review process", - "privacy": "closed", - "url": "https://api.github.com/teams/3136781", - "html_url": "https://github.com/orgs/cloudbees/teams/certification-reviewers", - "members_url": "https://api.github.com/teams/3136781/members{/member}", - "repositories_url": "https://api.github.com/teams/3136781/repos", - "permission": "pull" - }, - { - "name": "team-tsm", - "id": 3198019, - "node_id": "MDQ6VGVhbTMxOTgwMTk=", - "slug": "team-tsm", - "description": "Support TSMs", - "privacy": "closed", - "url": "https://api.github.com/teams/3198019", - "html_url": "https://github.com/orgs/cloudbees/teams/team-tsm", - "members_url": "https://api.github.com/teams/3198019/members{/member}", - "repositories_url": "https://api.github.com/teams/3198019/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_235526_teams-47.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_235526_teams-47.json deleted file mode 100644 index 1f3e086149..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_235526_teams-47.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "cjt-reviewers", - "id": 2384901, - "node_id": "MDQ6VGVhbTIzODQ5MDE=", - "slug": "cjt-reviewers", - "description": "CJT Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384901", - "html_url": "https://github.com/orgs/cloudbees/teams/cjt-reviewers", - "members_url": "https://api.github.com/teams/2384901/members{/member}", - "repositories_url": "https://api.github.com/teams/2384901/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Reviewers", - "id": 2384906, - "node_id": "MDQ6VGVhbTIzODQ5MDY=", - "slug": "legacy-training-reviewers", - "description": "Training Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384906", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-reviewers", - "members_url": "https://api.github.com/teams/2384906/members{/member}", - "repositories_url": "https://api.github.com/teams/2384906/repos", - "permission": "pull" - }, - { - "name": "team-jarvis", - "id": 2418831, - "node_id": "MDQ6VGVhbTI0MTg4MzE=", - "slug": "team-jarvis", - "description": "JARVIS team", - "privacy": "closed", - "url": "https://api.github.com/teams/2418831", - "html_url": "https://github.com/orgs/cloudbees/teams/team-jarvis", - "members_url": "https://api.github.com/teams/2418831/members{/member}", - "repositories_url": "https://api.github.com/teams/2418831/repos", - "permission": "pull" - }, - { - "name": "team-csm", - "id": 2520559, - "node_id": "MDQ6VGVhbTI1MjA1NTk=", - "slug": "team-csm", - "description": "Customer Success Mhrrmrmrms", - "privacy": "closed", - "url": "https://api.github.com/teams/2520559", - "html_url": "https://github.com/orgs/cloudbees/teams/team-csm", - "members_url": "https://api.github.com/teams/2520559/members{/member}", - "repositories_url": "https://api.github.com/teams/2520559/repos", - "permission": "pull" - }, - { - "name": "team-design", - "id": 2601805, - "node_id": "MDQ6VGVhbTI2MDE4MDU=", - "slug": "team-design", - "description": "Product Design Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2601805", - "html_url": "https://github.com/orgs/cloudbees/teams/team-design", - "members_url": "https://api.github.com/teams/2601805/members{/member}", - "repositories_url": "https://api.github.com/teams/2601805/repos", - "permission": "pull" - }, - { - "name": "team-cloud-cd", - "id": 2628091, - "node_id": "MDQ6VGVhbTI2MjgwOTE=", - "slug": "team-cloud-cd", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2628091", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloud-cd", - "members_url": "https://api.github.com/teams/2628091/members{/member}", - "repositories_url": "https://api.github.com/teams/2628091/repos", - "permission": "pull" - }, - { - "name": "team-arc", - "id": 2655014, - "node_id": "MDQ6VGVhbTI2NTUwMTQ=", - "slug": "team-arc", - "description": "ARC team members", - "privacy": "closed", - "url": "https://api.github.com/teams/2655014", - "html_url": "https://github.com/orgs/cloudbees/teams/team-arc", - "members_url": "https://api.github.com/teams/2655014/members{/member}", - "repositories_url": "https://api.github.com/teams/2655014/repos", - "permission": "pull" - }, - { - "name": "team-cjp", - "id": 2703359, - "node_id": "MDQ6VGVhbTI3MDMzNTk=", - "slug": "team-cjp", - "description": "Members of a new CJP Team working on CJP product", - "privacy": "closed", - "url": "https://api.github.com/teams/2703359", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cjp", - "members_url": "https://api.github.com/teams/2703359/members{/member}", - "repositories_url": "https://api.github.com/teams/2703359/repos", - "permission": "pull" - }, - { - "name": "Architecture Team Bots", - "id": 2729438, - "node_id": "MDQ6VGVhbTI3Mjk0Mzg=", - "slug": "architecture-team-bots", - "description": "Bots being used by Architecture team in its repos", - "privacy": "closed", - "url": "https://api.github.com/teams/2729438", - "html_url": "https://github.com/orgs/cloudbees/teams/architecture-team-bots", - "members_url": "https://api.github.com/teams/2729438/members{/member}", - "repositories_url": "https://api.github.com/teams/2729438/repos", - "permission": "pull" - }, - { - "name": "team-release-administrators", - "id": 2790066, - "node_id": "MDQ6VGVhbTI3OTAwNjY=", - "slug": "team-release-administrators", - "description": "Senior Release Team Members", - "privacy": "closed", - "url": "https://api.github.com/teams/2790066", - "html_url": "https://github.com/orgs/cloudbees/teams/team-release-administrators", - "members_url": "https://api.github.com/teams/2790066/members{/member}", - "repositories_url": "https://api.github.com/teams/2790066/repos", - "permission": "pull" - }, - { - "name": "core-ux", - "id": 2793992, - "node_id": "MDQ6VGVhbTI3OTM5OTI=", - "slug": "core-ux", - "description": "Core UX", - "privacy": "closed", - "url": "https://api.github.com/teams/2793992", - "html_url": "https://github.com/orgs/cloudbees/teams/core-ux", - "members_url": "https://api.github.com/teams/2793992/members{/member}", - "repositories_url": "https://api.github.com/teams/2793992/repos", - "permission": "pull" - }, - { - "name": "team-cloudbeesdotcom", - "id": 2798267, - "node_id": "MDQ6VGVhbTI3OTgyNjc=", - "slug": "team-cloudbeesdotcom", - "description": "team-cloudbeesdotcom", - "privacy": "closed", - "url": "https://api.github.com/teams/2798267", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloudbeesdotcom", - "members_url": "https://api.github.com/teams/2798267/members{/member}", - "repositories_url": "https://api.github.com/teams/2798267/repos", - "permission": "pull" - }, - { - "name": "Team Foundation", - "id": 2809309, - "node_id": "MDQ6VGVhbTI4MDkzMDk=", - "slug": "team-foundation", - "description": "Jenkins Foundation Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2809309", - "html_url": "https://github.com/orgs/cloudbees/teams/team-foundation", - "members_url": "https://api.github.com/teams/2809309/members{/member}", - "repositories_url": "https://api.github.com/teams/2809309/repos", - "permission": "pull" - }, - { - "name": "codeship", - "id": 2879573, - "node_id": "MDQ6VGVhbTI4Nzk1NzM=", - "slug": "codeship", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2879573", - "html_url": "https://github.com/orgs/cloudbees/teams/codeship", - "members_url": "https://api.github.com/teams/2879573/members{/member}", - "repositories_url": "https://api.github.com/teams/2879573/repos", - "permission": "pull" - }, - { - "name": "pipeline-team", - "id": 2915408, - "node_id": "MDQ6VGVhbTI5MTU0MDg=", - "slug": "pipeline-team", - "description": "pipeline team", - "privacy": "closed", - "url": "https://api.github.com/teams/2915408", - "html_url": "https://github.com/orgs/cloudbees/teams/pipeline-team", - "members_url": "https://api.github.com/teams/2915408/members{/member}", - "repositories_url": "https://api.github.com/teams/2915408/repos", - "permission": "pull" - }, - { - "name": "team-docs", - "id": 2924752, - "node_id": "MDQ6VGVhbTI5MjQ3NTI=", - "slug": "team-docs", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2924752", - "html_url": "https://github.com/orgs/cloudbees/teams/team-docs", - "members_url": "https://api.github.com/teams/2924752/members{/member}", - "repositories_url": "https://api.github.com/teams/2924752/repos", - "permission": "pull" - }, - { - "name": "team-cd-process", - "id": 2974003, - "node_id": "MDQ6VGVhbTI5NzQwMDM=", - "slug": "team-cd-process", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2974003", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cd-process", - "members_url": "https://api.github.com/teams/2974003/members{/member}", - "repositories_url": "https://api.github.com/teams/2974003/repos", - "permission": "pull" - }, - { - "name": "team-apps", - "id": 3033568, - "node_id": "MDQ6VGVhbTMwMzM1Njg=", - "slug": "team-apps", - "description": "CloudBees Apps team", - "privacy": "closed", - "url": "https://api.github.com/teams/3033568", - "html_url": "https://github.com/orgs/cloudbees/teams/team-apps", - "members_url": "https://api.github.com/teams/3033568/members{/member}", - "repositories_url": "https://api.github.com/teams/3033568/repos", - "permission": "pull" - }, - { - "name": "test-romen", - "id": 3049841, - "node_id": "MDQ6VGVhbTMwNDk4NDE=", - "slug": "test-romen", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3049841", - "html_url": "https://github.com/orgs/cloudbees/teams/test-romen", - "members_url": "https://api.github.com/teams/3049841/members{/member}", - "repositories_url": "https://api.github.com/teams/3049841/repos", - "permission": "pull" - }, - { - "name": "Training Organization", - "id": 3052519, - "node_id": "MDQ6VGVhbTMwNTI1MTk=", - "slug": "training-organization", - "description": "\"Parent\" group for the Training Organization. This group only defines which the shared repositories are.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052519", - "html_url": "https://github.com/orgs/cloudbees/teams/training-organization", - "members_url": "https://api.github.com/teams/3052519/members{/member}", - "repositories_url": "https://api.github.com/teams/3052519/repos", - "permission": "pull" - }, - { - "name": "Training Internals", - "id": 3052521, - "node_id": "MDQ6VGVhbTMwNTI1MjE=", - "slug": "training-internals", - "description": "Group to define permissions over repositories for training admins. Members defined in subgroups.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052521", - "html_url": "https://github.com/orgs/cloudbees/teams/training-internals", - "members_url": "https://api.github.com/teams/3052521/members{/member}", - "repositories_url": "https://api.github.com/teams/3052521/repos", - "permission": "pull" - }, - { - "name": "Training Contributors", - "id": 3052522, - "node_id": "MDQ6VGVhbTMwNTI1MjI=", - "slug": "training-contributors", - "description": "Group to define permissions over repositories for training contributors. Members defined in subgroups.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052522", - "html_url": "https://github.com/orgs/cloudbees/teams/training-contributors", - "members_url": "https://api.github.com/teams/3052522/members{/member}", - "repositories_url": "https://api.github.com/teams/3052522/repos", - "permission": "pull" - }, - { - "name": "Training Reviewers", - "id": 3052609, - "node_id": "MDQ6VGVhbTMwNTI2MDk=", - "slug": "training-reviewers", - "description": "Group to define permissions over repositories for training reviewers. Members defined in subgroups.", - "privacy": "closed", - "url": "https://api.github.com/teams/3052609", - "html_url": "https://github.com/orgs/cloudbees/teams/training-reviewers", - "members_url": "https://api.github.com/teams/3052609/members{/member}", - "repositories_url": "https://api.github.com/teams/3052609/repos", - "permission": "pull" - }, - { - "name": "Training Internals Admins", - "id": 3052615, - "node_id": "MDQ6VGVhbTMwNTI2MTU=", - "slug": "training-internals-admins", - "description": "Members of CloudBees Training Team. Admins of Training Repositories", - "privacy": "closed", - "url": "https://api.github.com/teams/3052615", - "html_url": "https://github.com/orgs/cloudbees/teams/training-internals-admins", - "members_url": "https://api.github.com/teams/3052615/members{/member}", - "repositories_url": "https://api.github.com/teams/3052615/repos", - "permission": "pull" - }, - { - "name": "Training Reviewers CloudBees", - "id": 3066889, - "node_id": "MDQ6VGVhbTMwNjY4ODk=", - "slug": "training-reviewers-cloudbees", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3066889", - "html_url": "https://github.com/orgs/cloudbees/teams/training-reviewers-cloudbees", - "members_url": "https://api.github.com/teams/3066889/members{/member}", - "repositories_url": "https://api.github.com/teams/3066889/repos", - "permission": "pull" - }, - { - "name": "Training Internals Reviewers", - "id": 3066904, - "node_id": "MDQ6VGVhbTMwNjY5MDQ=", - "slug": "training-internals-reviewers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3066904", - "html_url": "https://github.com/orgs/cloudbees/teams/training-internals-reviewers", - "members_url": "https://api.github.com/teams/3066904/members{/member}", - "repositories_url": "https://api.github.com/teams/3066904/repos", - "permission": "pull" - }, - { - "name": "Training Contributors CloudBees", - "id": 3075591, - "node_id": "MDQ6VGVhbTMwNzU1OTE=", - "slug": "training-contributors-cloudbees", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3075591", - "html_url": "https://github.com/orgs/cloudbees/teams/training-contributors-cloudbees", - "members_url": "https://api.github.com/teams/3075591/members{/member}", - "repositories_url": "https://api.github.com/teams/3075591/repos", - "permission": "pull" - }, - { - "name": "Training Reviewers Partners", - "id": 3075793, - "node_id": "MDQ6VGVhbTMwNzU3OTM=", - "slug": "training-reviewers-partners", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/3075793", - "html_url": "https://github.com/orgs/cloudbees/teams/training-reviewers-partners", - "members_url": "https://api.github.com/teams/3075793/members{/member}", - "repositories_url": "https://api.github.com/teams/3075793/repos", - "permission": "pull" - }, - { - "name": "Certification Reviewers", - "id": 3136781, - "node_id": "MDQ6VGVhbTMxMzY3ODE=", - "slug": "certification-reviewers", - "description": "Group for all those associated with the Certification Review process", - "privacy": "closed", - "url": "https://api.github.com/teams/3136781", - "html_url": "https://github.com/orgs/cloudbees/teams/certification-reviewers", - "members_url": "https://api.github.com/teams/3136781/members{/member}", - "repositories_url": "https://api.github.com/teams/3136781/repos", - "permission": "pull" - }, - { - "name": "team-tsm", - "id": 3198019, - "node_id": "MDQ6VGVhbTMxOTgwMTk=", - "slug": "team-tsm", - "description": "Support TSMs", - "privacy": "closed", - "url": "https://api.github.com/teams/3198019", - "html_url": "https://github.com/orgs/cloudbees/teams/team-tsm", - "members_url": "https://api.github.com/teams/3198019/members{/member}", - "repositories_url": "https://api.github.com/teams/3198019/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_69191779_teams-83.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_69191779_teams-83.json new file mode 100644 index 0000000000..9957cbc713 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_69191779_teams-83.json @@ -0,0 +1,770 @@ +[ + { + "name": "quarkiverse-logging-logback", + "id": 4934360, + "node_id": "MDQ6VGVhbTQ5MzQzNjA=", + "slug": "quarkiverse-logging-logback", + "description": "Quarkiverse team for the logback Logging extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4934360", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-logback", + "members_url": "https://api.github.com/organizations/69191779/team/4934360/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4934360/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-manager", + "id": 4193789, + "node_id": "MDQ6VGVhbTQxOTM3ODk=", + "slug": "quarkiverse-logging-manager", + "description": "Quarkiverse team for the logging-manager extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4193789", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-manager", + "members_url": "https://api.github.com/organizations/69191779/team/4193789/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4193789/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-sentry", + "id": 5300000, + "node_id": "T_kwDOBB_IY84AUN8g", + "slug": "quarkiverse-logging-sentry", + "description": "Quarkiverse team for the Sentry Logging extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5300000", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-sentry", + "members_url": "https://api.github.com/organizations/69191779/team/5300000/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5300000/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-splunk", + "id": 4611522, + "node_id": "MDQ6VGVhbTQ2MTE1MjI=", + "slug": "quarkiverse-logging-splunk", + "description": "Quarkiverse team for the logging_splunk extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4611522", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-splunk", + "members_url": "https://api.github.com/organizations/69191779/team/4611522/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4611522/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-lucene", + "id": 4572442, + "node_id": "MDQ6VGVhbTQ1NzI0NDI=", + "slug": "quarkiverse-lucene", + "description": "Quarkiverse team for the lucene extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4572442", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-lucene", + "members_url": "https://api.github.com/organizations/69191779/team/4572442/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4572442/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-maven-resolver", + "id": 5330694, + "node_id": "T_kwDOBB_IY84AUVcG", + "slug": "quarkiverse-maven-resolver", + "description": "Quarkiverse team for the maven resolver extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330694", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-maven-resolver", + "members_url": "https://api.github.com/organizations/69191779/team/5330694/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330694/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkiverse-micrometer-registry", + "id": 4331393, + "node_id": "MDQ6VGVhbTQzMzEzOTM=", + "slug": "quarkiverse-micrometer-registry", + "description": "Quarkiverse team for the micrometer-registry extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4331393", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-micrometer-registry", + "members_url": "https://api.github.com/organizations/69191779/team/4331393/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4331393/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-microprofile", + "id": 5018652, + "node_id": "T_kwDOBB_IY84ATJQc", + "slug": "quarkiverse-microprofile", + "description": "Quarkiverse team for the microprofile extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5018652", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-microprofile", + "members_url": "https://api.github.com/organizations/69191779/team/5018652/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5018652/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-minio", + "id": 4257600, + "node_id": "MDQ6VGVhbTQyNTc2MDA=", + "slug": "quarkiverse-minio", + "description": "Quarkiverse team for the minio extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4257600", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-minio", + "members_url": "https://api.github.com/organizations/69191779/team/4257600/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4257600/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-mockk", + "id": 4479092, + "node_id": "MDQ6VGVhbTQ0NzkwOTI=", + "slug": "quarkiverse-mockk", + "description": "Quarkiverse team for the mockk extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4479092", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-mockk", + "members_url": "https://api.github.com/organizations/69191779/team/4479092/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4479092/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-morphia", + "id": 4994632, + "node_id": "T_kwDOBB_IY84ATDZI", + "slug": "quarkiverse-morphia", + "description": "Quarkiverse team for the Morphia extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4994632", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-morphia", + "members_url": "https://api.github.com/organizations/69191779/team/4994632/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4994632/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-mybatis", + "id": 4163389, + "node_id": "MDQ6VGVhbTQxNjMzODk=", + "slug": "quarkiverse-mybatis", + "description": "Quarkiverse team for the mybatis extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4163389", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-mybatis", + "members_url": "https://api.github.com/organizations/69191779/team/4163389/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4163389/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-neo4j", + "id": 5438745, + "node_id": "T_kwDOBB_IY84AUv0Z", + "slug": "quarkiverse-neo4j", + "description": "Quarkiverse team for the Neo4j extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438745", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-neo4j", + "members_url": "https://api.github.com/organizations/69191779/team/5438745/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438745/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-openapi-generator", + "id": 5649834, + "node_id": "T_kwDOBB_IY84AVjWq", + "slug": "quarkiverse-openapi-generator", + "description": "openapi-generator team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5649834", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-openapi-generator", + "members_url": "https://api.github.com/organizations/69191779/team/5649834/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5649834/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-opencv", + "id": 5330519, + "node_id": "T_kwDOBB_IY84AUVZX", + "slug": "quarkiverse-opencv", + "description": "Quarkiverse team for the opencv extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330519", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-opencv", + "members_url": "https://api.github.com/organizations/69191779/team/5330519/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330519/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-operator-sdk", + "id": 4585468, + "node_id": "MDQ6VGVhbTQ1ODU0Njg=", + "slug": "quarkiverse-operator-sdk", + "description": "Quarkiverse team for the operator-sdk extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4585468", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-operator-sdk", + "members_url": "https://api.github.com/organizations/69191779/team/4585468/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4585468/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-owners", + "id": 4142453, + "node_id": "MDQ6VGVhbTQxNDI0NTM=", + "slug": "quarkiverse-owners", + "description": "Quarkiverse Owners", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4142453", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-owners", + "members_url": "https://api.github.com/organizations/69191779/team/4142453/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4142453/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-prettytime", + "id": 4612233, + "node_id": "MDQ6VGVhbTQ2MTIyMzM=", + "slug": "quarkiverse-prettytime", + "description": "Quarkiverse team for the Prettytime extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4612233", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-prettytime", + "members_url": "https://api.github.com/organizations/69191779/team/4612233/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4612233/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-pusher-beams", + "id": 5502715, + "node_id": "T_kwDOBB_IY84AU_b7", + "slug": "quarkiverse-pusher-beams", + "description": "Quarkus Pusher Beams team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5502715", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-pusher-beams", + "members_url": "https://api.github.com/organizations/69191779/team/5502715/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5502715/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-qson", + "id": 5258394, + "node_id": "T_kwDOBB_IY84AUDya", + "slug": "quarkiverse-qson", + "description": "Quarkiverse team for the Qson extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5258394", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-qson", + "members_url": "https://api.github.com/organizations/69191779/team/5258394/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5258394/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-rabbitmq-client", + "id": 4454281, + "node_id": "MDQ6VGVhbTQ0NTQyODE=", + "slug": "quarkiverse-rabbitmq-client", + "description": "Quarkiverse team for the rabbitmq-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4454281", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-rabbitmq-client", + "members_url": "https://api.github.com/organizations/69191779/team/4454281/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4454281/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-reactive-messaging-http", + "id": 5290863, + "node_id": "T_kwDOBB_IY84AULtv", + "slug": "quarkiverse-reactive-messaging-http", + "description": "Quarkiverse team for the Reactive Messaging HTTP extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5290863", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-reactive-messaging-http", + "members_url": "https://api.github.com/organizations/69191779/team/5290863/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5290863/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-renarde", + "id": 5464969, + "node_id": "T_kwDOBB_IY84AU2OJ", + "slug": "quarkiverse-renarde", + "description": "Quarkiverse renarde team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5464969", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-renarde", + "members_url": "https://api.github.com/organizations/69191779/team/5464969/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5464969/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-rsocket", + "id": 4628116, + "node_id": "MDQ6VGVhbTQ2MjgxMTY=", + "slug": "quarkiverse-rsocket", + "description": "Quarkiverse team for the rsocket extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4628116", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-rsocket", + "members_url": "https://api.github.com/organizations/69191779/team/4628116/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4628116/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-scala", + "id": 4973599, + "node_id": "T_kwDOBB_IY84AS-Qf", + "slug": "quarkiverse-scala", + "description": "Quarkiverse team for the scala extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4973599", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-scala", + "members_url": "https://api.github.com/organizations/69191779/team/4973599/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4973599/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-shardingsphere-jdbc", + "id": 5330628, + "node_id": "T_kwDOBB_IY84AUVbE", + "slug": "quarkiverse-shardingsphere-jdbc", + "description": "Quarkiverse team for the Sharding Sphere JDBC extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330628", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-shardingsphere-jdbc", + "members_url": "https://api.github.com/organizations/69191779/team/5330628/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330628/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-tekton-client", + "id": 4429729, + "node_id": "MDQ6VGVhbTQ0Mjk3Mjk=", + "slug": "quarkiverse-tekton-client", + "description": "Quarkiverse team for the tekton-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4429729", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-tekton-client", + "members_url": "https://api.github.com/organizations/69191779/team/4429729/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4429729/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-tika", + "id": 5317008, + "node_id": "T_kwDOBB_IY84AUSGQ", + "slug": "quarkiverse-tika", + "description": "Quarkiverse team for the Tika extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5317008", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-tika", + "members_url": "https://api.github.com/organizations/69191779/team/5317008/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5317008/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-univocity-parsers", + "id": 4707008, + "node_id": "MDQ6VGVhbTQ3MDcwMDg=", + "slug": "quarkiverse-univocity-parsers", + "description": "Quarkiverse team for the univocity-parsers extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4707008", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-univocity-parsers", + "members_url": "https://api.github.com/organizations/69191779/team/4707008/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4707008/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_69191779_teams-90.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_69191779_teams-90.json new file mode 100644 index 0000000000..9957cbc713 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_69191779_teams-90.json @@ -0,0 +1,770 @@ +[ + { + "name": "quarkiverse-logging-logback", + "id": 4934360, + "node_id": "MDQ6VGVhbTQ5MzQzNjA=", + "slug": "quarkiverse-logging-logback", + "description": "Quarkiverse team for the logback Logging extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4934360", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-logback", + "members_url": "https://api.github.com/organizations/69191779/team/4934360/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4934360/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-manager", + "id": 4193789, + "node_id": "MDQ6VGVhbTQxOTM3ODk=", + "slug": "quarkiverse-logging-manager", + "description": "Quarkiverse team for the logging-manager extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4193789", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-manager", + "members_url": "https://api.github.com/organizations/69191779/team/4193789/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4193789/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-sentry", + "id": 5300000, + "node_id": "T_kwDOBB_IY84AUN8g", + "slug": "quarkiverse-logging-sentry", + "description": "Quarkiverse team for the Sentry Logging extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5300000", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-sentry", + "members_url": "https://api.github.com/organizations/69191779/team/5300000/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5300000/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-splunk", + "id": 4611522, + "node_id": "MDQ6VGVhbTQ2MTE1MjI=", + "slug": "quarkiverse-logging-splunk", + "description": "Quarkiverse team for the logging_splunk extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4611522", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-splunk", + "members_url": "https://api.github.com/organizations/69191779/team/4611522/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4611522/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-lucene", + "id": 4572442, + "node_id": "MDQ6VGVhbTQ1NzI0NDI=", + "slug": "quarkiverse-lucene", + "description": "Quarkiverse team for the lucene extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4572442", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-lucene", + "members_url": "https://api.github.com/organizations/69191779/team/4572442/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4572442/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-maven-resolver", + "id": 5330694, + "node_id": "T_kwDOBB_IY84AUVcG", + "slug": "quarkiverse-maven-resolver", + "description": "Quarkiverse team for the maven resolver extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330694", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-maven-resolver", + "members_url": "https://api.github.com/organizations/69191779/team/5330694/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330694/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkiverse-micrometer-registry", + "id": 4331393, + "node_id": "MDQ6VGVhbTQzMzEzOTM=", + "slug": "quarkiverse-micrometer-registry", + "description": "Quarkiverse team for the micrometer-registry extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4331393", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-micrometer-registry", + "members_url": "https://api.github.com/organizations/69191779/team/4331393/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4331393/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-microprofile", + "id": 5018652, + "node_id": "T_kwDOBB_IY84ATJQc", + "slug": "quarkiverse-microprofile", + "description": "Quarkiverse team for the microprofile extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5018652", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-microprofile", + "members_url": "https://api.github.com/organizations/69191779/team/5018652/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5018652/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-minio", + "id": 4257600, + "node_id": "MDQ6VGVhbTQyNTc2MDA=", + "slug": "quarkiverse-minio", + "description": "Quarkiverse team for the minio extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4257600", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-minio", + "members_url": "https://api.github.com/organizations/69191779/team/4257600/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4257600/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-mockk", + "id": 4479092, + "node_id": "MDQ6VGVhbTQ0NzkwOTI=", + "slug": "quarkiverse-mockk", + "description": "Quarkiverse team for the mockk extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4479092", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-mockk", + "members_url": "https://api.github.com/organizations/69191779/team/4479092/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4479092/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-morphia", + "id": 4994632, + "node_id": "T_kwDOBB_IY84ATDZI", + "slug": "quarkiverse-morphia", + "description": "Quarkiverse team for the Morphia extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4994632", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-morphia", + "members_url": "https://api.github.com/organizations/69191779/team/4994632/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4994632/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-mybatis", + "id": 4163389, + "node_id": "MDQ6VGVhbTQxNjMzODk=", + "slug": "quarkiverse-mybatis", + "description": "Quarkiverse team for the mybatis extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4163389", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-mybatis", + "members_url": "https://api.github.com/organizations/69191779/team/4163389/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4163389/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-neo4j", + "id": 5438745, + "node_id": "T_kwDOBB_IY84AUv0Z", + "slug": "quarkiverse-neo4j", + "description": "Quarkiverse team for the Neo4j extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438745", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-neo4j", + "members_url": "https://api.github.com/organizations/69191779/team/5438745/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438745/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-openapi-generator", + "id": 5649834, + "node_id": "T_kwDOBB_IY84AVjWq", + "slug": "quarkiverse-openapi-generator", + "description": "openapi-generator team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5649834", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-openapi-generator", + "members_url": "https://api.github.com/organizations/69191779/team/5649834/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5649834/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-opencv", + "id": 5330519, + "node_id": "T_kwDOBB_IY84AUVZX", + "slug": "quarkiverse-opencv", + "description": "Quarkiverse team for the opencv extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330519", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-opencv", + "members_url": "https://api.github.com/organizations/69191779/team/5330519/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330519/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-operator-sdk", + "id": 4585468, + "node_id": "MDQ6VGVhbTQ1ODU0Njg=", + "slug": "quarkiverse-operator-sdk", + "description": "Quarkiverse team for the operator-sdk extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4585468", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-operator-sdk", + "members_url": "https://api.github.com/organizations/69191779/team/4585468/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4585468/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-owners", + "id": 4142453, + "node_id": "MDQ6VGVhbTQxNDI0NTM=", + "slug": "quarkiverse-owners", + "description": "Quarkiverse Owners", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4142453", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-owners", + "members_url": "https://api.github.com/organizations/69191779/team/4142453/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4142453/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-prettytime", + "id": 4612233, + "node_id": "MDQ6VGVhbTQ2MTIyMzM=", + "slug": "quarkiverse-prettytime", + "description": "Quarkiverse team for the Prettytime extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4612233", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-prettytime", + "members_url": "https://api.github.com/organizations/69191779/team/4612233/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4612233/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-pusher-beams", + "id": 5502715, + "node_id": "T_kwDOBB_IY84AU_b7", + "slug": "quarkiverse-pusher-beams", + "description": "Quarkus Pusher Beams team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5502715", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-pusher-beams", + "members_url": "https://api.github.com/organizations/69191779/team/5502715/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5502715/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-qson", + "id": 5258394, + "node_id": "T_kwDOBB_IY84AUDya", + "slug": "quarkiverse-qson", + "description": "Quarkiverse team for the Qson extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5258394", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-qson", + "members_url": "https://api.github.com/organizations/69191779/team/5258394/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5258394/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-rabbitmq-client", + "id": 4454281, + "node_id": "MDQ6VGVhbTQ0NTQyODE=", + "slug": "quarkiverse-rabbitmq-client", + "description": "Quarkiverse team for the rabbitmq-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4454281", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-rabbitmq-client", + "members_url": "https://api.github.com/organizations/69191779/team/4454281/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4454281/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-reactive-messaging-http", + "id": 5290863, + "node_id": "T_kwDOBB_IY84AULtv", + "slug": "quarkiverse-reactive-messaging-http", + "description": "Quarkiverse team for the Reactive Messaging HTTP extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5290863", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-reactive-messaging-http", + "members_url": "https://api.github.com/organizations/69191779/team/5290863/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5290863/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-renarde", + "id": 5464969, + "node_id": "T_kwDOBB_IY84AU2OJ", + "slug": "quarkiverse-renarde", + "description": "Quarkiverse renarde team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5464969", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-renarde", + "members_url": "https://api.github.com/organizations/69191779/team/5464969/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5464969/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-rsocket", + "id": 4628116, + "node_id": "MDQ6VGVhbTQ2MjgxMTY=", + "slug": "quarkiverse-rsocket", + "description": "Quarkiverse team for the rsocket extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4628116", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-rsocket", + "members_url": "https://api.github.com/organizations/69191779/team/4628116/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4628116/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-scala", + "id": 4973599, + "node_id": "T_kwDOBB_IY84AS-Qf", + "slug": "quarkiverse-scala", + "description": "Quarkiverse team for the scala extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4973599", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-scala", + "members_url": "https://api.github.com/organizations/69191779/team/4973599/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4973599/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-shardingsphere-jdbc", + "id": 5330628, + "node_id": "T_kwDOBB_IY84AUVbE", + "slug": "quarkiverse-shardingsphere-jdbc", + "description": "Quarkiverse team for the Sharding Sphere JDBC extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330628", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-shardingsphere-jdbc", + "members_url": "https://api.github.com/organizations/69191779/team/5330628/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330628/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-tekton-client", + "id": 4429729, + "node_id": "MDQ6VGVhbTQ0Mjk3Mjk=", + "slug": "quarkiverse-tekton-client", + "description": "Quarkiverse team for the tekton-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4429729", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-tekton-client", + "members_url": "https://api.github.com/organizations/69191779/team/4429729/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4429729/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-tika", + "id": 5317008, + "node_id": "T_kwDOBB_IY84AUSGQ", + "slug": "quarkiverse-tika", + "description": "Quarkiverse team for the Tika extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5317008", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-tika", + "members_url": "https://api.github.com/organizations/69191779/team/5317008/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5317008/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-univocity-parsers", + "id": 4707008, + "node_id": "MDQ6VGVhbTQ3MDcwMDg=", + "slug": "quarkiverse-univocity-parsers", + "description": "Quarkiverse team for the univocity-parsers extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4707008", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-univocity-parsers", + "members_url": "https://api.github.com/organizations/69191779/team/4707008/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4707008/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_69191779_teams-93.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_69191779_teams-93.json new file mode 100644 index 0000000000..9957cbc713 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/organizations_69191779_teams-93.json @@ -0,0 +1,770 @@ +[ + { + "name": "quarkiverse-logging-logback", + "id": 4934360, + "node_id": "MDQ6VGVhbTQ5MzQzNjA=", + "slug": "quarkiverse-logging-logback", + "description": "Quarkiverse team for the logback Logging extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4934360", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-logback", + "members_url": "https://api.github.com/organizations/69191779/team/4934360/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4934360/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-manager", + "id": 4193789, + "node_id": "MDQ6VGVhbTQxOTM3ODk=", + "slug": "quarkiverse-logging-manager", + "description": "Quarkiverse team for the logging-manager extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4193789", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-manager", + "members_url": "https://api.github.com/organizations/69191779/team/4193789/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4193789/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-sentry", + "id": 5300000, + "node_id": "T_kwDOBB_IY84AUN8g", + "slug": "quarkiverse-logging-sentry", + "description": "Quarkiverse team for the Sentry Logging extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5300000", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-sentry", + "members_url": "https://api.github.com/organizations/69191779/team/5300000/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5300000/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-splunk", + "id": 4611522, + "node_id": "MDQ6VGVhbTQ2MTE1MjI=", + "slug": "quarkiverse-logging-splunk", + "description": "Quarkiverse team for the logging_splunk extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4611522", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-splunk", + "members_url": "https://api.github.com/organizations/69191779/team/4611522/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4611522/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-lucene", + "id": 4572442, + "node_id": "MDQ6VGVhbTQ1NzI0NDI=", + "slug": "quarkiverse-lucene", + "description": "Quarkiverse team for the lucene extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4572442", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-lucene", + "members_url": "https://api.github.com/organizations/69191779/team/4572442/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4572442/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-maven-resolver", + "id": 5330694, + "node_id": "T_kwDOBB_IY84AUVcG", + "slug": "quarkiverse-maven-resolver", + "description": "Quarkiverse team for the maven resolver extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330694", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-maven-resolver", + "members_url": "https://api.github.com/organizations/69191779/team/5330694/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330694/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkiverse-micrometer-registry", + "id": 4331393, + "node_id": "MDQ6VGVhbTQzMzEzOTM=", + "slug": "quarkiverse-micrometer-registry", + "description": "Quarkiverse team for the micrometer-registry extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4331393", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-micrometer-registry", + "members_url": "https://api.github.com/organizations/69191779/team/4331393/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4331393/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-microprofile", + "id": 5018652, + "node_id": "T_kwDOBB_IY84ATJQc", + "slug": "quarkiverse-microprofile", + "description": "Quarkiverse team for the microprofile extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5018652", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-microprofile", + "members_url": "https://api.github.com/organizations/69191779/team/5018652/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5018652/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-minio", + "id": 4257600, + "node_id": "MDQ6VGVhbTQyNTc2MDA=", + "slug": "quarkiverse-minio", + "description": "Quarkiverse team for the minio extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4257600", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-minio", + "members_url": "https://api.github.com/organizations/69191779/team/4257600/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4257600/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-mockk", + "id": 4479092, + "node_id": "MDQ6VGVhbTQ0NzkwOTI=", + "slug": "quarkiverse-mockk", + "description": "Quarkiverse team for the mockk extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4479092", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-mockk", + "members_url": "https://api.github.com/organizations/69191779/team/4479092/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4479092/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-morphia", + "id": 4994632, + "node_id": "T_kwDOBB_IY84ATDZI", + "slug": "quarkiverse-morphia", + "description": "Quarkiverse team for the Morphia extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4994632", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-morphia", + "members_url": "https://api.github.com/organizations/69191779/team/4994632/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4994632/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-mybatis", + "id": 4163389, + "node_id": "MDQ6VGVhbTQxNjMzODk=", + "slug": "quarkiverse-mybatis", + "description": "Quarkiverse team for the mybatis extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4163389", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-mybatis", + "members_url": "https://api.github.com/organizations/69191779/team/4163389/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4163389/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-neo4j", + "id": 5438745, + "node_id": "T_kwDOBB_IY84AUv0Z", + "slug": "quarkiverse-neo4j", + "description": "Quarkiverse team for the Neo4j extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438745", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-neo4j", + "members_url": "https://api.github.com/organizations/69191779/team/5438745/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438745/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-openapi-generator", + "id": 5649834, + "node_id": "T_kwDOBB_IY84AVjWq", + "slug": "quarkiverse-openapi-generator", + "description": "openapi-generator team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5649834", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-openapi-generator", + "members_url": "https://api.github.com/organizations/69191779/team/5649834/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5649834/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-opencv", + "id": 5330519, + "node_id": "T_kwDOBB_IY84AUVZX", + "slug": "quarkiverse-opencv", + "description": "Quarkiverse team for the opencv extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330519", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-opencv", + "members_url": "https://api.github.com/organizations/69191779/team/5330519/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330519/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-operator-sdk", + "id": 4585468, + "node_id": "MDQ6VGVhbTQ1ODU0Njg=", + "slug": "quarkiverse-operator-sdk", + "description": "Quarkiverse team for the operator-sdk extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4585468", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-operator-sdk", + "members_url": "https://api.github.com/organizations/69191779/team/4585468/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4585468/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-owners", + "id": 4142453, + "node_id": "MDQ6VGVhbTQxNDI0NTM=", + "slug": "quarkiverse-owners", + "description": "Quarkiverse Owners", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4142453", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-owners", + "members_url": "https://api.github.com/organizations/69191779/team/4142453/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4142453/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-prettytime", + "id": 4612233, + "node_id": "MDQ6VGVhbTQ2MTIyMzM=", + "slug": "quarkiverse-prettytime", + "description": "Quarkiverse team for the Prettytime extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4612233", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-prettytime", + "members_url": "https://api.github.com/organizations/69191779/team/4612233/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4612233/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-pusher-beams", + "id": 5502715, + "node_id": "T_kwDOBB_IY84AU_b7", + "slug": "quarkiverse-pusher-beams", + "description": "Quarkus Pusher Beams team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5502715", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-pusher-beams", + "members_url": "https://api.github.com/organizations/69191779/team/5502715/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5502715/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-qson", + "id": 5258394, + "node_id": "T_kwDOBB_IY84AUDya", + "slug": "quarkiverse-qson", + "description": "Quarkiverse team for the Qson extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5258394", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-qson", + "members_url": "https://api.github.com/organizations/69191779/team/5258394/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5258394/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-rabbitmq-client", + "id": 4454281, + "node_id": "MDQ6VGVhbTQ0NTQyODE=", + "slug": "quarkiverse-rabbitmq-client", + "description": "Quarkiverse team for the rabbitmq-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4454281", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-rabbitmq-client", + "members_url": "https://api.github.com/organizations/69191779/team/4454281/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4454281/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-reactive-messaging-http", + "id": 5290863, + "node_id": "T_kwDOBB_IY84AULtv", + "slug": "quarkiverse-reactive-messaging-http", + "description": "Quarkiverse team for the Reactive Messaging HTTP extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5290863", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-reactive-messaging-http", + "members_url": "https://api.github.com/organizations/69191779/team/5290863/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5290863/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-renarde", + "id": 5464969, + "node_id": "T_kwDOBB_IY84AU2OJ", + "slug": "quarkiverse-renarde", + "description": "Quarkiverse renarde team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5464969", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-renarde", + "members_url": "https://api.github.com/organizations/69191779/team/5464969/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5464969/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-rsocket", + "id": 4628116, + "node_id": "MDQ6VGVhbTQ2MjgxMTY=", + "slug": "quarkiverse-rsocket", + "description": "Quarkiverse team for the rsocket extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4628116", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-rsocket", + "members_url": "https://api.github.com/organizations/69191779/team/4628116/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4628116/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-scala", + "id": 4973599, + "node_id": "T_kwDOBB_IY84AS-Qf", + "slug": "quarkiverse-scala", + "description": "Quarkiverse team for the scala extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4973599", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-scala", + "members_url": "https://api.github.com/organizations/69191779/team/4973599/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4973599/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-shardingsphere-jdbc", + "id": 5330628, + "node_id": "T_kwDOBB_IY84AUVbE", + "slug": "quarkiverse-shardingsphere-jdbc", + "description": "Quarkiverse team for the Sharding Sphere JDBC extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330628", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-shardingsphere-jdbc", + "members_url": "https://api.github.com/organizations/69191779/team/5330628/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330628/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-tekton-client", + "id": 4429729, + "node_id": "MDQ6VGVhbTQ0Mjk3Mjk=", + "slug": "quarkiverse-tekton-client", + "description": "Quarkiverse team for the tekton-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4429729", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-tekton-client", + "members_url": "https://api.github.com/organizations/69191779/team/4429729/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4429729/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-tika", + "id": 5317008, + "node_id": "T_kwDOBB_IY84AUSGQ", + "slug": "quarkiverse-tika", + "description": "Quarkiverse team for the Tika extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5317008", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-tika", + "members_url": "https://api.github.com/organizations/69191779/team/5317008/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5317008/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-univocity-parsers", + "id": 4707008, + "node_id": "MDQ6VGVhbTQ3MDcwMDg=", + "slug": "quarkiverse-univocity-parsers", + "description": "Quarkiverse team for the univocity-parsers extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4707008", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-univocity-parsers", + "members_url": "https://api.github.com/organizations/69191779/team/4707008/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4707008/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_apidae-tourisme-40.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_apidae-tourisme-40.json new file mode 100644 index 0000000000..1dd9448ed4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_apidae-tourisme-40.json @@ -0,0 +1,55 @@ +{ + "login": "apidae-tourisme", + "id": 6114742, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxMTQ3NDI=", + "url": "https://api.github.com/orgs/apidae-tourisme", + "repos_url": "https://api.github.com/orgs/apidae-tourisme/repos", + "events_url": "https://api.github.com/orgs/apidae-tourisme/events", + "hooks_url": "https://api.github.com/orgs/apidae-tourisme/hooks", + "issues_url": "https://api.github.com/orgs/apidae-tourisme/issues", + "members_url": "https://api.github.com/orgs/apidae-tourisme/members{/member}", + "public_members_url": "https://api.github.com/orgs/apidae-tourisme/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/6114742?v=4", + "description": "", + "name": "Apidae tourisme", + "company": null, + "blog": "http://dev.apidae-tourisme.com/", + "location": "France", + "email": "hotline.dev@apidae-tourisme.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 19, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/apidae-tourisme", + "created_at": "2013-12-05T14:11:12Z", + "updated_at": "2022-01-04T11:03:59Z", + "type": "Organization", + "total_private_repos": 30, + "owned_private_repos": 30, + "private_gists": 0, + "disk_usage": 381633, + "collaborators": 13, + "billing_email": "serge.bregliano@apidae-tourisme.com", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 22, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_apidae-tourisme_teams-41.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_apidae-tourisme_teams-41.json new file mode 100644 index 0000000000..daf0556947 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_apidae-tourisme_teams-41.json @@ -0,0 +1,112 @@ +[ + { + "name": "ApidaeFederal", + "id": 5612478, + "node_id": "T_kwDOAF1Nts4AVaO-", + "slug": "apidaefederal", + "description": "Observateurs", + "privacy": "closed", + "url": "https://api.github.com/organizations/6114742/team/5612478", + "html_url": "https://github.com/orgs/apidae-tourisme/teams/apidaefederal", + "members_url": "https://api.github.com/organizations/6114742/team/5612478/members{/member}", + "repositories_url": "https://api.github.com/organizations/6114742/team/5612478/repos", + "permission": "pull", + "parent": { + "name": "Consultation", + "id": 5659703, + "node_id": "T_kwDOAF1Nts4AVlw3", + "slug": "consultation", + "description": "Groupe d'utilisateurs ayant des droits de consultation sur les projets", + "privacy": "closed", + "url": "https://api.github.com/organizations/6114742/team/5659703", + "html_url": "https://github.com/orgs/apidae-tourisme/teams/consultation", + "members_url": "https://api.github.com/organizations/6114742/team/5659703/members{/member}", + "repositories_url": "https://api.github.com/organizations/6114742/team/5659703/repos", + "permission": "pull" + } + }, + { + "name": "Consultation", + "id": 5659703, + "node_id": "T_kwDOAF1Nts4AVlw3", + "slug": "consultation", + "description": "Groupe d'utilisateurs ayant des droits de consultation sur les projets", + "privacy": "closed", + "url": "https://api.github.com/organizations/6114742/team/5659703", + "html_url": "https://github.com/orgs/apidae-tourisme/teams/consultation", + "members_url": "https://api.github.com/organizations/6114742/team/5659703/members{/member}", + "repositories_url": "https://api.github.com/organizations/6114742/team/5659703/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Core", + "id": 594895, + "node_id": "MDQ6VGVhbTU5NDg5NQ==", + "slug": "core", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/6114742/team/594895", + "html_url": "https://github.com/orgs/apidae-tourisme/teams/core", + "members_url": "https://api.github.com/organizations/6114742/team/594895/members{/member}", + "repositories_url": "https://api.github.com/organizations/6114742/team/594895/repos", + "permission": "admin", + "parent": null + }, + { + "name": "Developers", + "id": 1201992, + "node_id": "MDQ6VGVhbTEyMDE5OTI=", + "slug": "developers", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/6114742/team/1201992", + "html_url": "https://github.com/orgs/apidae-tourisme/teams/developers", + "members_url": "https://api.github.com/organizations/6114742/team/1201992/members{/member}", + "repositories_url": "https://api.github.com/organizations/6114742/team/1201992/repos", + "permission": "push", + "parent": null + }, + { + "name": "EquipeDev", + "id": 4627234, + "node_id": "MDQ6VGVhbTQ2MjcyMzQ=", + "slug": "equipedev", + "description": "Equipe développement interne d'Apidae", + "privacy": "secret", + "url": "https://api.github.com/organizations/6114742/team/4627234", + "html_url": "https://github.com/orgs/apidae-tourisme/teams/equipedev", + "members_url": "https://api.github.com/organizations/6114742/team/4627234/members{/member}", + "repositories_url": "https://api.github.com/organizations/6114742/team/4627234/repos", + "permission": "pull", + "parent": null + }, + { + "name": "SIT", + "id": 5719951, + "node_id": "T_kwDOAF1Nts4AV0eP", + "slug": "sit", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/6114742/team/5719951", + "html_url": "https://github.com/orgs/apidae-tourisme/teams/sit", + "members_url": "https://api.github.com/organizations/6114742/team/5719951/members{/member}", + "repositories_url": "https://api.github.com/organizations/6114742/team/5719951/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Team wp84apidae", + "id": 2522810, + "node_id": "MDQ6VGVhbTI1MjI4MTA=", + "slug": "team-wp84apidae", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/6114742/team/2522810", + "html_url": "https://github.com/orgs/apidae-tourisme/teams/team-wp84apidae", + "members_url": "https://api.github.com/organizations/6114742/team/2522810/members{/member}", + "repositories_url": "https://api.github.com/organizations/6114742/team/2522810/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre-7.json new file mode 100644 index 0000000000..400117e3c4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre-7.json @@ -0,0 +1,55 @@ +{ + "login": "app-sre", + "id": 43133889, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQzMTMzODg5", + "url": "https://api.github.com/orgs/app-sre", + "repos_url": "https://api.github.com/orgs/app-sre/repos", + "events_url": "https://api.github.com/orgs/app-sre/events", + "hooks_url": "https://api.github.com/orgs/app-sre/hooks", + "issues_url": "https://api.github.com/orgs/app-sre/issues", + "members_url": "https://api.github.com/orgs/app-sre/members{/member}", + "public_members_url": "https://api.github.com/orgs/app-sre/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/43133889?v=4", + "description": "Application SRE @ Red Hat - Service Delivery", + "name": "AppSRE", + "company": null, + "blog": null, + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 71, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/app-sre", + "created_at": "2018-09-10T09:07:00Z", + "updated_at": "2022-02-25T15:38:15Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": null, + "disk_usage": null, + "collaborators": null, + "billing_email": null, + "default_repository_permission": null, + "members_can_create_repositories": false, + "two_factor_requirement_enabled": null, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 950, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-10.json new file mode 100644 index 0000000000..8fe9c87452 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-10.json @@ -0,0 +1,114 @@ +[ + { + "name": "ci-ext", + "id": 2926968, + "node_id": "MDQ6VGVhbTI5MjY5Njg=", + "slug": "ci-ext", + "description": "ci.ext.devshift.users with rebuild and cancel job permissions", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/2926968", + "html_url": "https://github.com/orgs/app-sre/teams/ci-ext", + "members_url": "https://api.github.com/organizations/43133889/team/2926968/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/2926968/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-observability", + "id": 3367218, + "node_id": "MDQ6VGVhbTMzNjcyMTg=", + "slug": "app-sre-observability", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3367218", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-observability", + "members_url": "https://api.github.com/organizations/43133889/team/3367218/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3367218/repos", + "permission": "pull", + "parent": null + }, + { + "name": "vault-app-interface-quarkus", + "id": 3522544, + "node_id": "MDQ6VGVhbTM1MjI1NDQ=", + "slug": "vault-app-interface-quarkus", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3522544", + "html_url": "https://github.com/orgs/app-sre/teams/vault-app-interface-quarkus", + "members_url": "https://api.github.com/organizations/43133889/team/3522544/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3522544/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-stage-01-cluster", + "id": 3544524, + "node_id": "MDQ6VGVhbTM1NDQ1MjQ=", + "slug": "app-sre-stage-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3544524", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-stage-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3544524/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3544524/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-prod-01-cluster", + "id": 3561147, + "node_id": "MDQ6VGVhbTM1NjExNDc=", + "slug": "app-sre-prod-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3561147", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-prod-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3561147/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3561147/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci-int", + "id": 3899872, + "node_id": "MDQ6VGVhbTM4OTk4NzI=", + "slug": "ci-int", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3899872", + "html_url": "https://github.com/orgs/app-sre/teams/ci-int", + "members_url": "https://api.github.com/organizations/43133889/team/3899872/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3899872/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hivep05ue1-cluster", + "id": 4943706, + "node_id": "MDQ6VGVhbTQ5NDM3MDY=", + "slug": "hivep05ue1-cluster", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/4943706", + "html_url": "https://github.com/orgs/app-sre/teams/hivep05ue1-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/4943706/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/4943706/repos", + "permission": "pull", + "parent": null + }, + { + "name": "test team 1234567890", + "id": 5692241, + "node_id": "T_kwDOApIrwc4AVttR", + "slug": "test-team-1234567890", + "description": "test team", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/5692241", + "html_url": "https://github.com/orgs/app-sre/teams/test-team-1234567890", + "members_url": "https://api.github.com/organizations/43133889/team/5692241/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/5692241/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-12.json new file mode 100644 index 0000000000..8fe9c87452 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-12.json @@ -0,0 +1,114 @@ +[ + { + "name": "ci-ext", + "id": 2926968, + "node_id": "MDQ6VGVhbTI5MjY5Njg=", + "slug": "ci-ext", + "description": "ci.ext.devshift.users with rebuild and cancel job permissions", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/2926968", + "html_url": "https://github.com/orgs/app-sre/teams/ci-ext", + "members_url": "https://api.github.com/organizations/43133889/team/2926968/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/2926968/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-observability", + "id": 3367218, + "node_id": "MDQ6VGVhbTMzNjcyMTg=", + "slug": "app-sre-observability", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3367218", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-observability", + "members_url": "https://api.github.com/organizations/43133889/team/3367218/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3367218/repos", + "permission": "pull", + "parent": null + }, + { + "name": "vault-app-interface-quarkus", + "id": 3522544, + "node_id": "MDQ6VGVhbTM1MjI1NDQ=", + "slug": "vault-app-interface-quarkus", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3522544", + "html_url": "https://github.com/orgs/app-sre/teams/vault-app-interface-quarkus", + "members_url": "https://api.github.com/organizations/43133889/team/3522544/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3522544/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-stage-01-cluster", + "id": 3544524, + "node_id": "MDQ6VGVhbTM1NDQ1MjQ=", + "slug": "app-sre-stage-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3544524", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-stage-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3544524/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3544524/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-prod-01-cluster", + "id": 3561147, + "node_id": "MDQ6VGVhbTM1NjExNDc=", + "slug": "app-sre-prod-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3561147", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-prod-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3561147/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3561147/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci-int", + "id": 3899872, + "node_id": "MDQ6VGVhbTM4OTk4NzI=", + "slug": "ci-int", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3899872", + "html_url": "https://github.com/orgs/app-sre/teams/ci-int", + "members_url": "https://api.github.com/organizations/43133889/team/3899872/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3899872/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hivep05ue1-cluster", + "id": 4943706, + "node_id": "MDQ6VGVhbTQ5NDM3MDY=", + "slug": "hivep05ue1-cluster", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/4943706", + "html_url": "https://github.com/orgs/app-sre/teams/hivep05ue1-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/4943706/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/4943706/repos", + "permission": "pull", + "parent": null + }, + { + "name": "test team 1234567890", + "id": 5692241, + "node_id": "T_kwDOApIrwc4AVttR", + "slug": "test-team-1234567890", + "description": "test team", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/5692241", + "html_url": "https://github.com/orgs/app-sre/teams/test-team-1234567890", + "members_url": "https://api.github.com/organizations/43133889/team/5692241/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/5692241/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-14.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-14.json new file mode 100644 index 0000000000..8fe9c87452 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-14.json @@ -0,0 +1,114 @@ +[ + { + "name": "ci-ext", + "id": 2926968, + "node_id": "MDQ6VGVhbTI5MjY5Njg=", + "slug": "ci-ext", + "description": "ci.ext.devshift.users with rebuild and cancel job permissions", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/2926968", + "html_url": "https://github.com/orgs/app-sre/teams/ci-ext", + "members_url": "https://api.github.com/organizations/43133889/team/2926968/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/2926968/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-observability", + "id": 3367218, + "node_id": "MDQ6VGVhbTMzNjcyMTg=", + "slug": "app-sre-observability", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3367218", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-observability", + "members_url": "https://api.github.com/organizations/43133889/team/3367218/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3367218/repos", + "permission": "pull", + "parent": null + }, + { + "name": "vault-app-interface-quarkus", + "id": 3522544, + "node_id": "MDQ6VGVhbTM1MjI1NDQ=", + "slug": "vault-app-interface-quarkus", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3522544", + "html_url": "https://github.com/orgs/app-sre/teams/vault-app-interface-quarkus", + "members_url": "https://api.github.com/organizations/43133889/team/3522544/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3522544/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-stage-01-cluster", + "id": 3544524, + "node_id": "MDQ6VGVhbTM1NDQ1MjQ=", + "slug": "app-sre-stage-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3544524", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-stage-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3544524/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3544524/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-prod-01-cluster", + "id": 3561147, + "node_id": "MDQ6VGVhbTM1NjExNDc=", + "slug": "app-sre-prod-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3561147", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-prod-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3561147/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3561147/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci-int", + "id": 3899872, + "node_id": "MDQ6VGVhbTM4OTk4NzI=", + "slug": "ci-int", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3899872", + "html_url": "https://github.com/orgs/app-sre/teams/ci-int", + "members_url": "https://api.github.com/organizations/43133889/team/3899872/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3899872/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hivep05ue1-cluster", + "id": 4943706, + "node_id": "MDQ6VGVhbTQ5NDM3MDY=", + "slug": "hivep05ue1-cluster", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/4943706", + "html_url": "https://github.com/orgs/app-sre/teams/hivep05ue1-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/4943706/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/4943706/repos", + "permission": "pull", + "parent": null + }, + { + "name": "test team 1234567890", + "id": 5692241, + "node_id": "T_kwDOApIrwc4AVttR", + "slug": "test-team-1234567890", + "description": "test team", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/5692241", + "html_url": "https://github.com/orgs/app-sre/teams/test-team-1234567890", + "members_url": "https://api.github.com/organizations/43133889/team/5692241/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/5692241/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-16.json new file mode 100644 index 0000000000..8fe9c87452 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-16.json @@ -0,0 +1,114 @@ +[ + { + "name": "ci-ext", + "id": 2926968, + "node_id": "MDQ6VGVhbTI5MjY5Njg=", + "slug": "ci-ext", + "description": "ci.ext.devshift.users with rebuild and cancel job permissions", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/2926968", + "html_url": "https://github.com/orgs/app-sre/teams/ci-ext", + "members_url": "https://api.github.com/organizations/43133889/team/2926968/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/2926968/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-observability", + "id": 3367218, + "node_id": "MDQ6VGVhbTMzNjcyMTg=", + "slug": "app-sre-observability", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3367218", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-observability", + "members_url": "https://api.github.com/organizations/43133889/team/3367218/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3367218/repos", + "permission": "pull", + "parent": null + }, + { + "name": "vault-app-interface-quarkus", + "id": 3522544, + "node_id": "MDQ6VGVhbTM1MjI1NDQ=", + "slug": "vault-app-interface-quarkus", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3522544", + "html_url": "https://github.com/orgs/app-sre/teams/vault-app-interface-quarkus", + "members_url": "https://api.github.com/organizations/43133889/team/3522544/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3522544/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-stage-01-cluster", + "id": 3544524, + "node_id": "MDQ6VGVhbTM1NDQ1MjQ=", + "slug": "app-sre-stage-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3544524", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-stage-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3544524/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3544524/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-prod-01-cluster", + "id": 3561147, + "node_id": "MDQ6VGVhbTM1NjExNDc=", + "slug": "app-sre-prod-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3561147", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-prod-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3561147/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3561147/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci-int", + "id": 3899872, + "node_id": "MDQ6VGVhbTM4OTk4NzI=", + "slug": "ci-int", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3899872", + "html_url": "https://github.com/orgs/app-sre/teams/ci-int", + "members_url": "https://api.github.com/organizations/43133889/team/3899872/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3899872/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hivep05ue1-cluster", + "id": 4943706, + "node_id": "MDQ6VGVhbTQ5NDM3MDY=", + "slug": "hivep05ue1-cluster", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/4943706", + "html_url": "https://github.com/orgs/app-sre/teams/hivep05ue1-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/4943706/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/4943706/repos", + "permission": "pull", + "parent": null + }, + { + "name": "test team 1234567890", + "id": 5692241, + "node_id": "T_kwDOApIrwc4AVttR", + "slug": "test-team-1234567890", + "description": "test team", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/5692241", + "html_url": "https://github.com/orgs/app-sre/teams/test-team-1234567890", + "members_url": "https://api.github.com/organizations/43133889/team/5692241/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/5692241/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-18.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-18.json new file mode 100644 index 0000000000..8fe9c87452 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-18.json @@ -0,0 +1,114 @@ +[ + { + "name": "ci-ext", + "id": 2926968, + "node_id": "MDQ6VGVhbTI5MjY5Njg=", + "slug": "ci-ext", + "description": "ci.ext.devshift.users with rebuild and cancel job permissions", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/2926968", + "html_url": "https://github.com/orgs/app-sre/teams/ci-ext", + "members_url": "https://api.github.com/organizations/43133889/team/2926968/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/2926968/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-observability", + "id": 3367218, + "node_id": "MDQ6VGVhbTMzNjcyMTg=", + "slug": "app-sre-observability", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3367218", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-observability", + "members_url": "https://api.github.com/organizations/43133889/team/3367218/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3367218/repos", + "permission": "pull", + "parent": null + }, + { + "name": "vault-app-interface-quarkus", + "id": 3522544, + "node_id": "MDQ6VGVhbTM1MjI1NDQ=", + "slug": "vault-app-interface-quarkus", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3522544", + "html_url": "https://github.com/orgs/app-sre/teams/vault-app-interface-quarkus", + "members_url": "https://api.github.com/organizations/43133889/team/3522544/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3522544/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-stage-01-cluster", + "id": 3544524, + "node_id": "MDQ6VGVhbTM1NDQ1MjQ=", + "slug": "app-sre-stage-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3544524", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-stage-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3544524/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3544524/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-prod-01-cluster", + "id": 3561147, + "node_id": "MDQ6VGVhbTM1NjExNDc=", + "slug": "app-sre-prod-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3561147", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-prod-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3561147/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3561147/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci-int", + "id": 3899872, + "node_id": "MDQ6VGVhbTM4OTk4NzI=", + "slug": "ci-int", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3899872", + "html_url": "https://github.com/orgs/app-sre/teams/ci-int", + "members_url": "https://api.github.com/organizations/43133889/team/3899872/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3899872/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hivep05ue1-cluster", + "id": 4943706, + "node_id": "MDQ6VGVhbTQ5NDM3MDY=", + "slug": "hivep05ue1-cluster", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/4943706", + "html_url": "https://github.com/orgs/app-sre/teams/hivep05ue1-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/4943706/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/4943706/repos", + "permission": "pull", + "parent": null + }, + { + "name": "test team 1234567890", + "id": 5692241, + "node_id": "T_kwDOApIrwc4AVttR", + "slug": "test-team-1234567890", + "description": "test team", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/5692241", + "html_url": "https://github.com/orgs/app-sre/teams/test-team-1234567890", + "members_url": "https://api.github.com/organizations/43133889/team/5692241/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/5692241/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-8.json new file mode 100644 index 0000000000..8fe9c87452 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_app-sre_teams-8.json @@ -0,0 +1,114 @@ +[ + { + "name": "ci-ext", + "id": 2926968, + "node_id": "MDQ6VGVhbTI5MjY5Njg=", + "slug": "ci-ext", + "description": "ci.ext.devshift.users with rebuild and cancel job permissions", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/2926968", + "html_url": "https://github.com/orgs/app-sre/teams/ci-ext", + "members_url": "https://api.github.com/organizations/43133889/team/2926968/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/2926968/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-observability", + "id": 3367218, + "node_id": "MDQ6VGVhbTMzNjcyMTg=", + "slug": "app-sre-observability", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3367218", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-observability", + "members_url": "https://api.github.com/organizations/43133889/team/3367218/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3367218/repos", + "permission": "pull", + "parent": null + }, + { + "name": "vault-app-interface-quarkus", + "id": 3522544, + "node_id": "MDQ6VGVhbTM1MjI1NDQ=", + "slug": "vault-app-interface-quarkus", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3522544", + "html_url": "https://github.com/orgs/app-sre/teams/vault-app-interface-quarkus", + "members_url": "https://api.github.com/organizations/43133889/team/3522544/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3522544/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-stage-01-cluster", + "id": 3544524, + "node_id": "MDQ6VGVhbTM1NDQ1MjQ=", + "slug": "app-sre-stage-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3544524", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-stage-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3544524/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3544524/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre-prod-01-cluster", + "id": 3561147, + "node_id": "MDQ6VGVhbTM1NjExNDc=", + "slug": "app-sre-prod-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3561147", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-prod-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3561147/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3561147/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci-int", + "id": 3899872, + "node_id": "MDQ6VGVhbTM4OTk4NzI=", + "slug": "ci-int", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3899872", + "html_url": "https://github.com/orgs/app-sre/teams/ci-int", + "members_url": "https://api.github.com/organizations/43133889/team/3899872/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3899872/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hivep05ue1-cluster", + "id": 4943706, + "node_id": "MDQ6VGVhbTQ5NDM3MDY=", + "slug": "hivep05ue1-cluster", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/4943706", + "html_url": "https://github.com/orgs/app-sre/teams/hivep05ue1-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/4943706/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/4943706/repos", + "permission": "pull", + "parent": null + }, + { + "name": "test team 1234567890", + "id": 5692241, + "node_id": "T_kwDOApIrwc4AVttR", + "slug": "test-team-1234567890", + "description": "test team", + "privacy": "closed", + "url": "https://api.github.com/organizations/43133889/team/5692241", + "html_url": "https://github.com/orgs/app-sre/teams/test-team-1234567890", + "members_url": "https://api.github.com/organizations/43133889/team/5692241/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/5692241/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation-74.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation-74.json new file mode 100644 index 0000000000..f17d061b25 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation-74.json @@ -0,0 +1,55 @@ +{ + "login": "beanvalidation", + "id": 420577, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQyMDU3Nw==", + "url": "https://api.github.com/orgs/beanvalidation", + "repos_url": "https://api.github.com/orgs/beanvalidation/repos", + "events_url": "https://api.github.com/orgs/beanvalidation/events", + "hooks_url": "https://api.github.com/orgs/beanvalidation/hooks", + "issues_url": "https://api.github.com/orgs/beanvalidation/issues", + "members_url": "https://api.github.com/orgs/beanvalidation/members{/member}", + "public_members_url": "https://api.github.com/orgs/beanvalidation/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/420577?v=4", + "description": "API, specification, TCK and website of the Bean Validation spec (currently migrated to the Jakarta EE umbrella)", + "name": "Bean Validation", + "company": null, + "blog": "https://beanvalidation.org", + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 3, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/beanvalidation", + "created_at": "2010-09-29T10:33:42Z", + "updated_at": "2021-12-01T20:18:49Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": null, + "disk_usage": null, + "collaborators": null, + "billing_email": null, + "default_repository_permission": null, + "members_can_create_repositories": false, + "two_factor_requirement_enabled": null, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 9, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation_teams-75.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation_teams-75.json new file mode 100644 index 0000000000..5535f4af00 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation_teams-75.json @@ -0,0 +1,58 @@ +[ + { + "name": "core-dev", + "id": 17219, + "node_id": "MDQ6VGVhbTE3MjE5", + "slug": "core-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/17219", + "html_url": "https://github.com/orgs/beanvalidation/teams/core-dev", + "members_url": "https://api.github.com/organizations/420577/team/17219/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/17219/repos", + "permission": "push", + "parent": null + }, + { + "name": "Website", + "id": 102843, + "node_id": "MDQ6VGVhbTEwMjg0Mw==", + "slug": "website", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/102843", + "html_url": "https://github.com/orgs/beanvalidation/teams/website", + "members_url": "https://api.github.com/organizations/420577/team/102843/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/102843/repos", + "permission": "push", + "parent": null + }, + { + "name": "admin", + "id": 1915689, + "node_id": "MDQ6VGVhbTE5MTU2ODk=", + "slug": "admin", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/1915689", + "html_url": "https://github.com/orgs/beanvalidation/teams/admin", + "members_url": "https://api.github.com/organizations/420577/team/1915689/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/1915689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eg-members", + "id": 2115405, + "node_id": "MDQ6VGVhbTIxMTU0MDU=", + "slug": "eg-members", + "description": "Members of the JSR 380 expert group", + "privacy": "closed", + "url": "https://api.github.com/organizations/420577/team/2115405", + "html_url": "https://github.com/orgs/beanvalidation/teams/eg-members", + "members_url": "https://api.github.com/organizations/420577/team/2115405/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/2115405/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation_teams-77.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation_teams-77.json new file mode 100644 index 0000000000..5535f4af00 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation_teams-77.json @@ -0,0 +1,58 @@ +[ + { + "name": "core-dev", + "id": 17219, + "node_id": "MDQ6VGVhbTE3MjE5", + "slug": "core-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/17219", + "html_url": "https://github.com/orgs/beanvalidation/teams/core-dev", + "members_url": "https://api.github.com/organizations/420577/team/17219/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/17219/repos", + "permission": "push", + "parent": null + }, + { + "name": "Website", + "id": 102843, + "node_id": "MDQ6VGVhbTEwMjg0Mw==", + "slug": "website", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/102843", + "html_url": "https://github.com/orgs/beanvalidation/teams/website", + "members_url": "https://api.github.com/organizations/420577/team/102843/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/102843/repos", + "permission": "push", + "parent": null + }, + { + "name": "admin", + "id": 1915689, + "node_id": "MDQ6VGVhbTE5MTU2ODk=", + "slug": "admin", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/1915689", + "html_url": "https://github.com/orgs/beanvalidation/teams/admin", + "members_url": "https://api.github.com/organizations/420577/team/1915689/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/1915689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eg-members", + "id": 2115405, + "node_id": "MDQ6VGVhbTIxMTU0MDU=", + "slug": "eg-members", + "description": "Members of the JSR 380 expert group", + "privacy": "closed", + "url": "https://api.github.com/organizations/420577/team/2115405", + "html_url": "https://github.com/orgs/beanvalidation/teams/eg-members", + "members_url": "https://api.github.com/organizations/420577/team/2115405/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/2115405/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation_teams-79.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation_teams-79.json new file mode 100644 index 0000000000..5535f4af00 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beanvalidation_teams-79.json @@ -0,0 +1,58 @@ +[ + { + "name": "core-dev", + "id": 17219, + "node_id": "MDQ6VGVhbTE3MjE5", + "slug": "core-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/17219", + "html_url": "https://github.com/orgs/beanvalidation/teams/core-dev", + "members_url": "https://api.github.com/organizations/420577/team/17219/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/17219/repos", + "permission": "push", + "parent": null + }, + { + "name": "Website", + "id": 102843, + "node_id": "MDQ6VGVhbTEwMjg0Mw==", + "slug": "website", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/102843", + "html_url": "https://github.com/orgs/beanvalidation/teams/website", + "members_url": "https://api.github.com/organizations/420577/team/102843/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/102843/repos", + "permission": "push", + "parent": null + }, + { + "name": "admin", + "id": 1915689, + "node_id": "MDQ6VGVhbTE5MTU2ODk=", + "slug": "admin", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/1915689", + "html_url": "https://github.com/orgs/beanvalidation/teams/admin", + "members_url": "https://api.github.com/organizations/420577/team/1915689/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/1915689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eg-members", + "id": 2115405, + "node_id": "MDQ6VGVhbTIxMTU0MDU=", + "slug": "eg-members", + "description": "Members of the JSR 380 expert group", + "privacy": "closed", + "url": "https://api.github.com/organizations/420577/team/2115405", + "html_url": "https://github.com/orgs/beanvalidation/teams/eg-members", + "members_url": "https://api.github.com/organizations/420577/team/2115405/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/2115405/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beautify-web-67.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beautify-web-67.json deleted file mode 100644 index af890f8e14..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beautify-web-67.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "login": "beautify-web", - "id": 6538164, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY1MzgxNjQ=", - "url": "https://api.github.com/orgs/beautify-web", - "repos_url": "https://api.github.com/orgs/beautify-web/repos", - "events_url": "https://api.github.com/orgs/beautify-web/events", - "hooks_url": "https://api.github.com/orgs/beautify-web/hooks", - "issues_url": "https://api.github.com/orgs/beautify-web/issues", - "members_url": "https://api.github.com/orgs/beautify-web/members{/member}", - "public_members_url": "https://api.github.com/orgs/beautify-web/public_members{/member}", - "avatar_url": "https://avatars1.githubusercontent.com/u/6538164?v=4", - "description": null, - "is_verified": false, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 1, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/beautify-web", - "created_at": "2014-01-29T19:42:53Z", - "updated_at": "2019-09-20T14:31:51Z", - "type": "Organization", - "total_private_repos": 0, - "owned_private_repos": 0, - "private_gists": 0, - "disk_usage": 9969, - "collaborators": 0, - "billing_email": "bitwiseman@gmail.com", - "default_repository_permission": "none", - "members_can_create_repositories": false, - "two_factor_requirement_enabled": false, - "plan": { - "name": "free", - "space": 976562499, - "private_repos": 0, - "filled_seats": 2, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beautify-web_teams-68.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beautify-web_teams-68.json deleted file mode 100644 index 2803a9bac9..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_beautify-web_teams-68.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "name": "Owners", - "id": 663296, - "node_id": "MDQ6VGVhbTY2MzI5Ng==", - "slug": "owners", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/663296", - "html_url": "https://github.com/orgs/beautify-web/teams/owners", - "members_url": "https://api.github.com/teams/663296/members{/member}", - "repositories_url": "https://api.github.com/teams/663296/repos", - "permission": "admin" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees-33.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees-33.json deleted file mode 100644 index a613ea268f..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees-33.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "login": "cloudbees", - "id": 235526, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNTUyNg==", - "url": "https://api.github.com/orgs/cloudbees", - "repos_url": "https://api.github.com/orgs/cloudbees/repos", - "events_url": "https://api.github.com/orgs/cloudbees/events", - "hooks_url": "https://api.github.com/orgs/cloudbees/hooks", - "issues_url": "https://api.github.com/orgs/cloudbees/issues", - "members_url": "https://api.github.com/orgs/cloudbees/members{/member}", - "public_members_url": "https://api.github.com/orgs/cloudbees/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/235526?v=4", - "description": "", - "name": "CloudBees", - "company": null, - "blog": "https://www.cloudbees.com/", - "location": null, - "email": null, - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 130, - "public_gists": 4, - "followers": 0, - "following": 0, - "html_url": "https://github.com/cloudbees", - "created_at": "2010-04-02T07:24:48Z", - "updated_at": "2018-07-26T22:36:42Z", - "type": "Organization", - "total_private_repos": 761, - "owned_private_repos": 750, - "private_gists": null, - "disk_usage": null, - "collaborators": null, - "billing_email": null, - "default_repository_permission": null, - "members_can_create_repositories": true, - "two_factor_requirement_enabled": null, - "plan": { - "name": "einsteinium", - "space": 976562499, - "private_repos": 750, - "filled_seats": 357, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-34.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-34.json deleted file mode 100644 index e9477419e6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-34.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "team-core", - "id": 48329, - "node_id": "MDQ6VGVhbTQ4MzI5", - "slug": "team-core", - "description": null, - "privacy": "closed", - "url": "https://api.github.com/teams/48329", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core", - "members_url": "https://api.github.com/teams/48329/members{/member}", - "repositories_url": "https://api.github.com/teams/48329/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Admins", - "id": 48354, - "node_id": "MDQ6VGVhbTQ4MzU0", - "slug": "legacy-training-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/48354", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-admins", - "members_url": "https://api.github.com/teams/48354/members{/member}", - "repositories_url": "https://api.github.com/teams/48354/repos", - "permission": "push" - }, - { - "name": "cloudbees-ci", - "id": 49163, - "node_id": "MDQ6VGVhbTQ5MTYz", - "slug": "cloudbees-ci", - "description": "Shared account for granting CI systems access to code.", - "privacy": "closed", - "url": "https://api.github.com/teams/49163", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-ci", - "members_url": "https://api.github.com/teams/49163/members{/member}", - "repositories_url": "https://api.github.com/teams/49163/repos", - "permission": "push" - }, - { - "name": "team-dev-at-cloud", - "id": 70229, - "node_id": "MDQ6VGVhbTcwMjI5", - "slug": "team-dev-at-cloud", - "description": "DEV@cloud team", - "privacy": "closed", - "url": "https://api.github.com/teams/70229", - "html_url": "https://github.com/orgs/cloudbees/teams/team-dev-at-cloud", - "members_url": "https://api.github.com/teams/70229/members{/member}", - "repositories_url": "https://api.github.com/teams/70229/repos", - "permission": "push" - }, - { - "name": "team-support", - "id": 199796, - "node_id": "MDQ6VGVhbTE5OTc5Ng==", - "slug": "team-support", - "description": "Customer Support Engineers - DSE", - "privacy": "closed", - "url": "https://api.github.com/teams/199796", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support", - "members_url": "https://api.github.com/teams/199796/members{/member}", - "repositories_url": "https://api.github.com/teams/199796/repos", - "permission": "pull" - }, - { - "name": "docker-image-builders", - "id": 873357, - "node_id": "MDQ6VGVhbTg3MzM1Nw==", - "slug": "docker-image-builders", - "description": "For building docker images", - "privacy": "closed", - "url": "https://api.github.com/teams/873357", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-image-builders", - "members_url": "https://api.github.com/teams/873357/members{/member}", - "repositories_url": "https://api.github.com/teams/873357/repos", - "permission": "pull" - }, - { - "name": "team-documentation", - "id": 879403, - "node_id": "MDQ6VGVhbTg3OTQwMw==", - "slug": "team-documentation", - "description": "People who can contribute to documentation", - "privacy": "closed", - "url": "https://api.github.com/teams/879403", - "html_url": "https://github.com/orgs/cloudbees/teams/team-documentation", - "members_url": "https://api.github.com/teams/879403/members{/member}", - "repositories_url": "https://api.github.com/teams/879403/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise", - "id": 994169, - "node_id": "MDQ6VGVhbTk5NDE2OQ==", - "slug": "jenkins-enterprise", - "description": "Jenkins Enterprise and Jenkins Operations Center sources", - "privacy": "closed", - "url": "https://api.github.com/teams/994169", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise", - "members_url": "https://api.github.com/teams/994169/members{/member}", - "repositories_url": "https://api.github.com/teams/994169/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise RO", - "id": 1076175, - "node_id": "MDQ6VGVhbTEwNzYxNzU=", - "slug": "jenkins-enterprise-ro", - "description": "Jenkins Enterprise and Jenkins Operations Center sources - Read-Only", - "privacy": "closed", - "url": "https://api.github.com/teams/1076175", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise-ro", - "members_url": "https://api.github.com/teams/1076175/members{/member}", - "repositories_url": "https://api.github.com/teams/1076175/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations", - "id": 1310418, - "node_id": "MDQ6VGVhbTEzMTA0MTg=", - "slug": "team-infra-operations", - "description": "Operations Team", - "privacy": "closed", - "url": "https://api.github.com/teams/1310418", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations", - "members_url": "https://api.github.com/teams/1310418/members{/member}", - "repositories_url": "https://api.github.com/teams/1310418/repos", - "permission": "push" - }, - { - "name": "team-support-admin", - "id": 1336857, - "node_id": "MDQ6VGVhbTEzMzY4NTc=", - "slug": "team-support-admin", - "description": "Support Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1336857", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support-admin", - "members_url": "https://api.github.com/teams/1336857/members{/member}", - "repositories_url": "https://api.github.com/teams/1336857/repos", - "permission": "pull" - }, - { - "name": "docker-team-admin", - "id": 1354803, - "node_id": "MDQ6VGVhbTEzNTQ4MDM=", - "slug": "docker-team-admin", - "description": "Docker team Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1354803", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-team-admin", - "members_url": "https://api.github.com/teams/1354803/members{/member}", - "repositories_url": "https://api.github.com/teams/1354803/repos", - "permission": "pull" - }, - { - "name": "team-cloud-platform", - "id": 1427758, - "node_id": "MDQ6VGVhbTE0Mjc3NTg=", - "slug": "team-cloud-platform", - "description": "Engineers working on the Cloud Platform", - "privacy": "closed", - "url": "https://api.github.com/teams/1427758", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloud-platform", - "members_url": "https://api.github.com/teams/1427758/members{/member}", - "repositories_url": "https://api.github.com/teams/1427758/repos", - "permission": "push" - }, - { - "name": "team-infra-engineering-senior", - "id": 1427781, - "node_id": "MDQ6VGVhbTE0Mjc3ODE=", - "slug": "team-infra-engineering-senior", - "description": "Senior engineers - defined arbitrarily based on tenure, and seniority, and usually just asking for access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1427781", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-engineering-senior", - "members_url": "https://api.github.com/teams/1427781/members{/member}", - "repositories_url": "https://api.github.com/teams/1427781/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations-senior", - "id": 1449146, - "node_id": "MDQ6VGVhbTE0NDkxNDY=", - "slug": "team-infra-operations-senior", - "description": "Senior operations team - admin access to non-specific admin repositories", - "privacy": "closed", - "url": "https://api.github.com/teams/1449146", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations-senior", - "members_url": "https://api.github.com/teams/1449146/members{/member}", - "repositories_url": "https://api.github.com/teams/1449146/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-employees", - "id": 1450069, - "node_id": "MDQ6VGVhbTE0NTAwNjk=", - "slug": "team-infra-cloudbees-employees", - "description": "CloudBees employees - simple group that grants read access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1450069", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-employees", - "members_url": "https://api.github.com/teams/1450069/members{/member}", - "repositories_url": "https://api.github.com/teams/1450069/repos", - "permission": "pull" - }, - { - "name": "team-sa-admin", - "id": 1565127, - "node_id": "MDQ6VGVhbTE1NjUxMjc=", - "slug": "team-sa-admin", - "description": "Solution Arch admins", - "privacy": "closed", - "url": "https://api.github.com/teams/1565127", - "html_url": "https://github.com/orgs/cloudbees/teams/team-sa-admin", - "members_url": "https://api.github.com/teams/1565127/members{/member}", - "repositories_url": "https://api.github.com/teams/1565127/repos", - "permission": "pull" - }, - { - "name": "cloudbees-blueocean-ux", - "id": 1905178, - "node_id": "MDQ6VGVhbTE5MDUxNzg=", - "slug": "cloudbees-blueocean-ux", - "description": "BlueOcean UX project ", - "privacy": "closed", - "url": "https://api.github.com/teams/1905178", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-blueocean-ux", - "members_url": "https://api.github.com/teams/1905178/members{/member}", - "repositories_url": "https://api.github.com/teams/1905178/repos", - "permission": "pull" - }, - { - "name": "team-professional-services", - "id": 1914484, - "node_id": "MDQ6VGVhbTE5MTQ0ODQ=", - "slug": "team-professional-services", - "description": "Professional Services", - "privacy": "closed", - "url": "https://api.github.com/teams/1914484", - "html_url": "https://github.com/orgs/cloudbees/teams/team-professional-services", - "members_url": "https://api.github.com/teams/1914484/members{/member}", - "repositories_url": "https://api.github.com/teams/1914484/repos", - "permission": "pull" - }, - { - "name": "team-cjp-onboarding", - "id": 1939111, - "node_id": "MDQ6VGVhbTE5MzkxMTE=", - "slug": "team-cjp-onboarding", - "description": "for GC/SF/License work", - "privacy": "closed", - "url": "https://api.github.com/teams/1939111", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cjp-onboarding", - "members_url": "https://api.github.com/teams/1939111/members{/member}", - "repositories_url": "https://api.github.com/teams/1939111/repos", - "permission": "pull" - }, - { - "name": "team-alliances", - "id": 1991918, - "node_id": "MDQ6VGVhbTE5OTE5MTg=", - "slug": "team-alliances", - "description": "Alliances team", - "privacy": "closed", - "url": "https://api.github.com/teams/1991918", - "html_url": "https://github.com/orgs/cloudbees/teams/team-alliances", - "members_url": "https://api.github.com/teams/1991918/members{/member}", - "repositories_url": "https://api.github.com/teams/1991918/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Contributors", - "id": 2070581, - "node_id": "MDQ6VGVhbTIwNzA1ODE=", - "slug": "legacy-training-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2070581", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-contributors", - "members_url": "https://api.github.com/teams/2070581/members{/member}", - "repositories_url": "https://api.github.com/teams/2070581/repos", - "permission": "pull" - }, - { - "name": "team-productivity", - "id": 2187916, - "node_id": "MDQ6VGVhbTIxODc5MTY=", - "slug": "team-productivity", - "description": "Members of Productivity Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2187916", - "html_url": "https://github.com/orgs/cloudbees/teams/team-productivity", - "members_url": "https://api.github.com/teams/2187916/members{/member}", - "repositories_url": "https://api.github.com/teams/2187916/repos", - "permission": "pull" - }, - { - "name": "knowledge", - "id": 2269997, - "node_id": "MDQ6VGVhbTIyNjk5OTc=", - "slug": "knowledge", - "description": "Knowledge n' stuff", - "privacy": "closed", - "url": "https://api.github.com/teams/2269997", - "html_url": "https://github.com/orgs/cloudbees/teams/knowledge", - "members_url": "https://api.github.com/teams/2269997/members{/member}", - "repositories_url": "https://api.github.com/teams/2269997/repos", - "permission": "pull" - }, - { - "name": "team-qa", - "id": 2283650, - "node_id": "MDQ6VGVhbTIyODM2NTA=", - "slug": "team-qa", - "description": "team-qa", - "privacy": "closed", - "url": "https://api.github.com/teams/2283650", - "html_url": "https://github.com/orgs/cloudbees/teams/team-qa", - "members_url": "https://api.github.com/teams/2283650/members{/member}", - "repositories_url": "https://api.github.com/teams/2283650/repos", - "permission": "pull" - }, - { - "name": "team-core-traditional", - "id": 2286168, - "node_id": "MDQ6VGVhbTIyODYxNjg=", - "slug": "team-core-traditional", - "description": "Team Core Traditional is the new Team Core Platform is the new Team Astro is the new Team CJP.", - "privacy": "closed", - "url": "https://api.github.com/teams/2286168", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core-traditional", - "members_url": "https://api.github.com/teams/2286168/members{/member}", - "repositories_url": "https://api.github.com/teams/2286168/repos", - "permission": "pull" - }, - { - "name": "OSS Team", - "id": 2295003, - "node_id": "MDQ6VGVhbTIyOTUwMDM=", - "slug": "oss-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2295003", - "html_url": "https://github.com/orgs/cloudbees/teams/oss-team", - "members_url": "https://api.github.com/teams/2295003/members{/member}", - "repositories_url": "https://api.github.com/teams/2295003/repos", - "permission": "pull" - }, - { - "name": "team-analytics", - "id": 2316328, - "node_id": "MDQ6VGVhbTIzMTYzMjg=", - "slug": "team-analytics", - "description": "DevOptics team", - "privacy": "closed", - "url": "https://api.github.com/teams/2316328", - "html_url": "https://github.com/orgs/cloudbees/teams/team-analytics", - "members_url": "https://api.github.com/teams/2316328/members{/member}", - "repositories_url": "https://api.github.com/teams/2316328/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-interns", - "id": 2377437, - "node_id": "MDQ6VGVhbTIzNzc0Mzc=", - "slug": "team-infra-cloudbees-interns", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2377437", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-interns", - "members_url": "https://api.github.com/teams/2377437/members{/member}", - "repositories_url": "https://api.github.com/teams/2377437/repos", - "permission": "pull" - }, - { - "name": "cje-reviewers", - "id": 2384898, - "node_id": "MDQ6VGVhbTIzODQ4OTg=", - "slug": "cje-reviewers", - "description": "CJE Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384898", - "html_url": "https://github.com/orgs/cloudbees/teams/cje-reviewers", - "members_url": "https://api.github.com/teams/2384898/members{/member}", - "repositories_url": "https://api.github.com/teams/2384898/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-37.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-37.json deleted file mode 100644 index e9477419e6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-37.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "team-core", - "id": 48329, - "node_id": "MDQ6VGVhbTQ4MzI5", - "slug": "team-core", - "description": null, - "privacy": "closed", - "url": "https://api.github.com/teams/48329", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core", - "members_url": "https://api.github.com/teams/48329/members{/member}", - "repositories_url": "https://api.github.com/teams/48329/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Admins", - "id": 48354, - "node_id": "MDQ6VGVhbTQ4MzU0", - "slug": "legacy-training-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/48354", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-admins", - "members_url": "https://api.github.com/teams/48354/members{/member}", - "repositories_url": "https://api.github.com/teams/48354/repos", - "permission": "push" - }, - { - "name": "cloudbees-ci", - "id": 49163, - "node_id": "MDQ6VGVhbTQ5MTYz", - "slug": "cloudbees-ci", - "description": "Shared account for granting CI systems access to code.", - "privacy": "closed", - "url": "https://api.github.com/teams/49163", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-ci", - "members_url": "https://api.github.com/teams/49163/members{/member}", - "repositories_url": "https://api.github.com/teams/49163/repos", - "permission": "push" - }, - { - "name": "team-dev-at-cloud", - "id": 70229, - "node_id": "MDQ6VGVhbTcwMjI5", - "slug": "team-dev-at-cloud", - "description": "DEV@cloud team", - "privacy": "closed", - "url": "https://api.github.com/teams/70229", - "html_url": "https://github.com/orgs/cloudbees/teams/team-dev-at-cloud", - "members_url": "https://api.github.com/teams/70229/members{/member}", - "repositories_url": "https://api.github.com/teams/70229/repos", - "permission": "push" - }, - { - "name": "team-support", - "id": 199796, - "node_id": "MDQ6VGVhbTE5OTc5Ng==", - "slug": "team-support", - "description": "Customer Support Engineers - DSE", - "privacy": "closed", - "url": "https://api.github.com/teams/199796", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support", - "members_url": "https://api.github.com/teams/199796/members{/member}", - "repositories_url": "https://api.github.com/teams/199796/repos", - "permission": "pull" - }, - { - "name": "docker-image-builders", - "id": 873357, - "node_id": "MDQ6VGVhbTg3MzM1Nw==", - "slug": "docker-image-builders", - "description": "For building docker images", - "privacy": "closed", - "url": "https://api.github.com/teams/873357", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-image-builders", - "members_url": "https://api.github.com/teams/873357/members{/member}", - "repositories_url": "https://api.github.com/teams/873357/repos", - "permission": "pull" - }, - { - "name": "team-documentation", - "id": 879403, - "node_id": "MDQ6VGVhbTg3OTQwMw==", - "slug": "team-documentation", - "description": "People who can contribute to documentation", - "privacy": "closed", - "url": "https://api.github.com/teams/879403", - "html_url": "https://github.com/orgs/cloudbees/teams/team-documentation", - "members_url": "https://api.github.com/teams/879403/members{/member}", - "repositories_url": "https://api.github.com/teams/879403/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise", - "id": 994169, - "node_id": "MDQ6VGVhbTk5NDE2OQ==", - "slug": "jenkins-enterprise", - "description": "Jenkins Enterprise and Jenkins Operations Center sources", - "privacy": "closed", - "url": "https://api.github.com/teams/994169", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise", - "members_url": "https://api.github.com/teams/994169/members{/member}", - "repositories_url": "https://api.github.com/teams/994169/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise RO", - "id": 1076175, - "node_id": "MDQ6VGVhbTEwNzYxNzU=", - "slug": "jenkins-enterprise-ro", - "description": "Jenkins Enterprise and Jenkins Operations Center sources - Read-Only", - "privacy": "closed", - "url": "https://api.github.com/teams/1076175", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise-ro", - "members_url": "https://api.github.com/teams/1076175/members{/member}", - "repositories_url": "https://api.github.com/teams/1076175/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations", - "id": 1310418, - "node_id": "MDQ6VGVhbTEzMTA0MTg=", - "slug": "team-infra-operations", - "description": "Operations Team", - "privacy": "closed", - "url": "https://api.github.com/teams/1310418", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations", - "members_url": "https://api.github.com/teams/1310418/members{/member}", - "repositories_url": "https://api.github.com/teams/1310418/repos", - "permission": "push" - }, - { - "name": "team-support-admin", - "id": 1336857, - "node_id": "MDQ6VGVhbTEzMzY4NTc=", - "slug": "team-support-admin", - "description": "Support Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1336857", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support-admin", - "members_url": "https://api.github.com/teams/1336857/members{/member}", - "repositories_url": "https://api.github.com/teams/1336857/repos", - "permission": "pull" - }, - { - "name": "docker-team-admin", - "id": 1354803, - "node_id": "MDQ6VGVhbTEzNTQ4MDM=", - "slug": "docker-team-admin", - "description": "Docker team Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1354803", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-team-admin", - "members_url": "https://api.github.com/teams/1354803/members{/member}", - "repositories_url": "https://api.github.com/teams/1354803/repos", - "permission": "pull" - }, - { - "name": "team-cloud-platform", - "id": 1427758, - "node_id": "MDQ6VGVhbTE0Mjc3NTg=", - "slug": "team-cloud-platform", - "description": "Engineers working on the Cloud Platform", - "privacy": "closed", - "url": "https://api.github.com/teams/1427758", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloud-platform", - "members_url": "https://api.github.com/teams/1427758/members{/member}", - "repositories_url": "https://api.github.com/teams/1427758/repos", - "permission": "push" - }, - { - "name": "team-infra-engineering-senior", - "id": 1427781, - "node_id": "MDQ6VGVhbTE0Mjc3ODE=", - "slug": "team-infra-engineering-senior", - "description": "Senior engineers - defined arbitrarily based on tenure, and seniority, and usually just asking for access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1427781", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-engineering-senior", - "members_url": "https://api.github.com/teams/1427781/members{/member}", - "repositories_url": "https://api.github.com/teams/1427781/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations-senior", - "id": 1449146, - "node_id": "MDQ6VGVhbTE0NDkxNDY=", - "slug": "team-infra-operations-senior", - "description": "Senior operations team - admin access to non-specific admin repositories", - "privacy": "closed", - "url": "https://api.github.com/teams/1449146", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations-senior", - "members_url": "https://api.github.com/teams/1449146/members{/member}", - "repositories_url": "https://api.github.com/teams/1449146/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-employees", - "id": 1450069, - "node_id": "MDQ6VGVhbTE0NTAwNjk=", - "slug": "team-infra-cloudbees-employees", - "description": "CloudBees employees - simple group that grants read access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1450069", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-employees", - "members_url": "https://api.github.com/teams/1450069/members{/member}", - "repositories_url": "https://api.github.com/teams/1450069/repos", - "permission": "pull" - }, - { - "name": "team-sa-admin", - "id": 1565127, - "node_id": "MDQ6VGVhbTE1NjUxMjc=", - "slug": "team-sa-admin", - "description": "Solution Arch admins", - "privacy": "closed", - "url": "https://api.github.com/teams/1565127", - "html_url": "https://github.com/orgs/cloudbees/teams/team-sa-admin", - "members_url": "https://api.github.com/teams/1565127/members{/member}", - "repositories_url": "https://api.github.com/teams/1565127/repos", - "permission": "pull" - }, - { - "name": "cloudbees-blueocean-ux", - "id": 1905178, - "node_id": "MDQ6VGVhbTE5MDUxNzg=", - "slug": "cloudbees-blueocean-ux", - "description": "BlueOcean UX project ", - "privacy": "closed", - "url": "https://api.github.com/teams/1905178", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-blueocean-ux", - "members_url": "https://api.github.com/teams/1905178/members{/member}", - "repositories_url": "https://api.github.com/teams/1905178/repos", - "permission": "pull" - }, - { - "name": "team-professional-services", - "id": 1914484, - "node_id": "MDQ6VGVhbTE5MTQ0ODQ=", - "slug": "team-professional-services", - "description": "Professional Services", - "privacy": "closed", - "url": "https://api.github.com/teams/1914484", - "html_url": "https://github.com/orgs/cloudbees/teams/team-professional-services", - "members_url": "https://api.github.com/teams/1914484/members{/member}", - "repositories_url": "https://api.github.com/teams/1914484/repos", - "permission": "pull" - }, - { - "name": "team-cjp-onboarding", - "id": 1939111, - "node_id": "MDQ6VGVhbTE5MzkxMTE=", - "slug": "team-cjp-onboarding", - "description": "for GC/SF/License work", - "privacy": "closed", - "url": "https://api.github.com/teams/1939111", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cjp-onboarding", - "members_url": "https://api.github.com/teams/1939111/members{/member}", - "repositories_url": "https://api.github.com/teams/1939111/repos", - "permission": "pull" - }, - { - "name": "team-alliances", - "id": 1991918, - "node_id": "MDQ6VGVhbTE5OTE5MTg=", - "slug": "team-alliances", - "description": "Alliances team", - "privacy": "closed", - "url": "https://api.github.com/teams/1991918", - "html_url": "https://github.com/orgs/cloudbees/teams/team-alliances", - "members_url": "https://api.github.com/teams/1991918/members{/member}", - "repositories_url": "https://api.github.com/teams/1991918/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Contributors", - "id": 2070581, - "node_id": "MDQ6VGVhbTIwNzA1ODE=", - "slug": "legacy-training-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2070581", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-contributors", - "members_url": "https://api.github.com/teams/2070581/members{/member}", - "repositories_url": "https://api.github.com/teams/2070581/repos", - "permission": "pull" - }, - { - "name": "team-productivity", - "id": 2187916, - "node_id": "MDQ6VGVhbTIxODc5MTY=", - "slug": "team-productivity", - "description": "Members of Productivity Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2187916", - "html_url": "https://github.com/orgs/cloudbees/teams/team-productivity", - "members_url": "https://api.github.com/teams/2187916/members{/member}", - "repositories_url": "https://api.github.com/teams/2187916/repos", - "permission": "pull" - }, - { - "name": "knowledge", - "id": 2269997, - "node_id": "MDQ6VGVhbTIyNjk5OTc=", - "slug": "knowledge", - "description": "Knowledge n' stuff", - "privacy": "closed", - "url": "https://api.github.com/teams/2269997", - "html_url": "https://github.com/orgs/cloudbees/teams/knowledge", - "members_url": "https://api.github.com/teams/2269997/members{/member}", - "repositories_url": "https://api.github.com/teams/2269997/repos", - "permission": "pull" - }, - { - "name": "team-qa", - "id": 2283650, - "node_id": "MDQ6VGVhbTIyODM2NTA=", - "slug": "team-qa", - "description": "team-qa", - "privacy": "closed", - "url": "https://api.github.com/teams/2283650", - "html_url": "https://github.com/orgs/cloudbees/teams/team-qa", - "members_url": "https://api.github.com/teams/2283650/members{/member}", - "repositories_url": "https://api.github.com/teams/2283650/repos", - "permission": "pull" - }, - { - "name": "team-core-traditional", - "id": 2286168, - "node_id": "MDQ6VGVhbTIyODYxNjg=", - "slug": "team-core-traditional", - "description": "Team Core Traditional is the new Team Core Platform is the new Team Astro is the new Team CJP.", - "privacy": "closed", - "url": "https://api.github.com/teams/2286168", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core-traditional", - "members_url": "https://api.github.com/teams/2286168/members{/member}", - "repositories_url": "https://api.github.com/teams/2286168/repos", - "permission": "pull" - }, - { - "name": "OSS Team", - "id": 2295003, - "node_id": "MDQ6VGVhbTIyOTUwMDM=", - "slug": "oss-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2295003", - "html_url": "https://github.com/orgs/cloudbees/teams/oss-team", - "members_url": "https://api.github.com/teams/2295003/members{/member}", - "repositories_url": "https://api.github.com/teams/2295003/repos", - "permission": "pull" - }, - { - "name": "team-analytics", - "id": 2316328, - "node_id": "MDQ6VGVhbTIzMTYzMjg=", - "slug": "team-analytics", - "description": "DevOptics team", - "privacy": "closed", - "url": "https://api.github.com/teams/2316328", - "html_url": "https://github.com/orgs/cloudbees/teams/team-analytics", - "members_url": "https://api.github.com/teams/2316328/members{/member}", - "repositories_url": "https://api.github.com/teams/2316328/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-interns", - "id": 2377437, - "node_id": "MDQ6VGVhbTIzNzc0Mzc=", - "slug": "team-infra-cloudbees-interns", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2377437", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-interns", - "members_url": "https://api.github.com/teams/2377437/members{/member}", - "repositories_url": "https://api.github.com/teams/2377437/repos", - "permission": "pull" - }, - { - "name": "cje-reviewers", - "id": 2384898, - "node_id": "MDQ6VGVhbTIzODQ4OTg=", - "slug": "cje-reviewers", - "description": "CJE Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384898", - "html_url": "https://github.com/orgs/cloudbees/teams/cje-reviewers", - "members_url": "https://api.github.com/teams/2384898/members{/member}", - "repositories_url": "https://api.github.com/teams/2384898/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-39.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-39.json deleted file mode 100644 index e9477419e6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-39.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "team-core", - "id": 48329, - "node_id": "MDQ6VGVhbTQ4MzI5", - "slug": "team-core", - "description": null, - "privacy": "closed", - "url": "https://api.github.com/teams/48329", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core", - "members_url": "https://api.github.com/teams/48329/members{/member}", - "repositories_url": "https://api.github.com/teams/48329/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Admins", - "id": 48354, - "node_id": "MDQ6VGVhbTQ4MzU0", - "slug": "legacy-training-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/48354", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-admins", - "members_url": "https://api.github.com/teams/48354/members{/member}", - "repositories_url": "https://api.github.com/teams/48354/repos", - "permission": "push" - }, - { - "name": "cloudbees-ci", - "id": 49163, - "node_id": "MDQ6VGVhbTQ5MTYz", - "slug": "cloudbees-ci", - "description": "Shared account for granting CI systems access to code.", - "privacy": "closed", - "url": "https://api.github.com/teams/49163", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-ci", - "members_url": "https://api.github.com/teams/49163/members{/member}", - "repositories_url": "https://api.github.com/teams/49163/repos", - "permission": "push" - }, - { - "name": "team-dev-at-cloud", - "id": 70229, - "node_id": "MDQ6VGVhbTcwMjI5", - "slug": "team-dev-at-cloud", - "description": "DEV@cloud team", - "privacy": "closed", - "url": "https://api.github.com/teams/70229", - "html_url": "https://github.com/orgs/cloudbees/teams/team-dev-at-cloud", - "members_url": "https://api.github.com/teams/70229/members{/member}", - "repositories_url": "https://api.github.com/teams/70229/repos", - "permission": "push" - }, - { - "name": "team-support", - "id": 199796, - "node_id": "MDQ6VGVhbTE5OTc5Ng==", - "slug": "team-support", - "description": "Customer Support Engineers - DSE", - "privacy": "closed", - "url": "https://api.github.com/teams/199796", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support", - "members_url": "https://api.github.com/teams/199796/members{/member}", - "repositories_url": "https://api.github.com/teams/199796/repos", - "permission": "pull" - }, - { - "name": "docker-image-builders", - "id": 873357, - "node_id": "MDQ6VGVhbTg3MzM1Nw==", - "slug": "docker-image-builders", - "description": "For building docker images", - "privacy": "closed", - "url": "https://api.github.com/teams/873357", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-image-builders", - "members_url": "https://api.github.com/teams/873357/members{/member}", - "repositories_url": "https://api.github.com/teams/873357/repos", - "permission": "pull" - }, - { - "name": "team-documentation", - "id": 879403, - "node_id": "MDQ6VGVhbTg3OTQwMw==", - "slug": "team-documentation", - "description": "People who can contribute to documentation", - "privacy": "closed", - "url": "https://api.github.com/teams/879403", - "html_url": "https://github.com/orgs/cloudbees/teams/team-documentation", - "members_url": "https://api.github.com/teams/879403/members{/member}", - "repositories_url": "https://api.github.com/teams/879403/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise", - "id": 994169, - "node_id": "MDQ6VGVhbTk5NDE2OQ==", - "slug": "jenkins-enterprise", - "description": "Jenkins Enterprise and Jenkins Operations Center sources", - "privacy": "closed", - "url": "https://api.github.com/teams/994169", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise", - "members_url": "https://api.github.com/teams/994169/members{/member}", - "repositories_url": "https://api.github.com/teams/994169/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise RO", - "id": 1076175, - "node_id": "MDQ6VGVhbTEwNzYxNzU=", - "slug": "jenkins-enterprise-ro", - "description": "Jenkins Enterprise and Jenkins Operations Center sources - Read-Only", - "privacy": "closed", - "url": "https://api.github.com/teams/1076175", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise-ro", - "members_url": "https://api.github.com/teams/1076175/members{/member}", - "repositories_url": "https://api.github.com/teams/1076175/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations", - "id": 1310418, - "node_id": "MDQ6VGVhbTEzMTA0MTg=", - "slug": "team-infra-operations", - "description": "Operations Team", - "privacy": "closed", - "url": "https://api.github.com/teams/1310418", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations", - "members_url": "https://api.github.com/teams/1310418/members{/member}", - "repositories_url": "https://api.github.com/teams/1310418/repos", - "permission": "push" - }, - { - "name": "team-support-admin", - "id": 1336857, - "node_id": "MDQ6VGVhbTEzMzY4NTc=", - "slug": "team-support-admin", - "description": "Support Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1336857", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support-admin", - "members_url": "https://api.github.com/teams/1336857/members{/member}", - "repositories_url": "https://api.github.com/teams/1336857/repos", - "permission": "pull" - }, - { - "name": "docker-team-admin", - "id": 1354803, - "node_id": "MDQ6VGVhbTEzNTQ4MDM=", - "slug": "docker-team-admin", - "description": "Docker team Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1354803", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-team-admin", - "members_url": "https://api.github.com/teams/1354803/members{/member}", - "repositories_url": "https://api.github.com/teams/1354803/repos", - "permission": "pull" - }, - { - "name": "team-cloud-platform", - "id": 1427758, - "node_id": "MDQ6VGVhbTE0Mjc3NTg=", - "slug": "team-cloud-platform", - "description": "Engineers working on the Cloud Platform", - "privacy": "closed", - "url": "https://api.github.com/teams/1427758", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloud-platform", - "members_url": "https://api.github.com/teams/1427758/members{/member}", - "repositories_url": "https://api.github.com/teams/1427758/repos", - "permission": "push" - }, - { - "name": "team-infra-engineering-senior", - "id": 1427781, - "node_id": "MDQ6VGVhbTE0Mjc3ODE=", - "slug": "team-infra-engineering-senior", - "description": "Senior engineers - defined arbitrarily based on tenure, and seniority, and usually just asking for access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1427781", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-engineering-senior", - "members_url": "https://api.github.com/teams/1427781/members{/member}", - "repositories_url": "https://api.github.com/teams/1427781/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations-senior", - "id": 1449146, - "node_id": "MDQ6VGVhbTE0NDkxNDY=", - "slug": "team-infra-operations-senior", - "description": "Senior operations team - admin access to non-specific admin repositories", - "privacy": "closed", - "url": "https://api.github.com/teams/1449146", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations-senior", - "members_url": "https://api.github.com/teams/1449146/members{/member}", - "repositories_url": "https://api.github.com/teams/1449146/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-employees", - "id": 1450069, - "node_id": "MDQ6VGVhbTE0NTAwNjk=", - "slug": "team-infra-cloudbees-employees", - "description": "CloudBees employees - simple group that grants read access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1450069", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-employees", - "members_url": "https://api.github.com/teams/1450069/members{/member}", - "repositories_url": "https://api.github.com/teams/1450069/repos", - "permission": "pull" - }, - { - "name": "team-sa-admin", - "id": 1565127, - "node_id": "MDQ6VGVhbTE1NjUxMjc=", - "slug": "team-sa-admin", - "description": "Solution Arch admins", - "privacy": "closed", - "url": "https://api.github.com/teams/1565127", - "html_url": "https://github.com/orgs/cloudbees/teams/team-sa-admin", - "members_url": "https://api.github.com/teams/1565127/members{/member}", - "repositories_url": "https://api.github.com/teams/1565127/repos", - "permission": "pull" - }, - { - "name": "cloudbees-blueocean-ux", - "id": 1905178, - "node_id": "MDQ6VGVhbTE5MDUxNzg=", - "slug": "cloudbees-blueocean-ux", - "description": "BlueOcean UX project ", - "privacy": "closed", - "url": "https://api.github.com/teams/1905178", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-blueocean-ux", - "members_url": "https://api.github.com/teams/1905178/members{/member}", - "repositories_url": "https://api.github.com/teams/1905178/repos", - "permission": "pull" - }, - { - "name": "team-professional-services", - "id": 1914484, - "node_id": "MDQ6VGVhbTE5MTQ0ODQ=", - "slug": "team-professional-services", - "description": "Professional Services", - "privacy": "closed", - "url": "https://api.github.com/teams/1914484", - "html_url": "https://github.com/orgs/cloudbees/teams/team-professional-services", - "members_url": "https://api.github.com/teams/1914484/members{/member}", - "repositories_url": "https://api.github.com/teams/1914484/repos", - "permission": "pull" - }, - { - "name": "team-cjp-onboarding", - "id": 1939111, - "node_id": "MDQ6VGVhbTE5MzkxMTE=", - "slug": "team-cjp-onboarding", - "description": "for GC/SF/License work", - "privacy": "closed", - "url": "https://api.github.com/teams/1939111", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cjp-onboarding", - "members_url": "https://api.github.com/teams/1939111/members{/member}", - "repositories_url": "https://api.github.com/teams/1939111/repos", - "permission": "pull" - }, - { - "name": "team-alliances", - "id": 1991918, - "node_id": "MDQ6VGVhbTE5OTE5MTg=", - "slug": "team-alliances", - "description": "Alliances team", - "privacy": "closed", - "url": "https://api.github.com/teams/1991918", - "html_url": "https://github.com/orgs/cloudbees/teams/team-alliances", - "members_url": "https://api.github.com/teams/1991918/members{/member}", - "repositories_url": "https://api.github.com/teams/1991918/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Contributors", - "id": 2070581, - "node_id": "MDQ6VGVhbTIwNzA1ODE=", - "slug": "legacy-training-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2070581", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-contributors", - "members_url": "https://api.github.com/teams/2070581/members{/member}", - "repositories_url": "https://api.github.com/teams/2070581/repos", - "permission": "pull" - }, - { - "name": "team-productivity", - "id": 2187916, - "node_id": "MDQ6VGVhbTIxODc5MTY=", - "slug": "team-productivity", - "description": "Members of Productivity Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2187916", - "html_url": "https://github.com/orgs/cloudbees/teams/team-productivity", - "members_url": "https://api.github.com/teams/2187916/members{/member}", - "repositories_url": "https://api.github.com/teams/2187916/repos", - "permission": "pull" - }, - { - "name": "knowledge", - "id": 2269997, - "node_id": "MDQ6VGVhbTIyNjk5OTc=", - "slug": "knowledge", - "description": "Knowledge n' stuff", - "privacy": "closed", - "url": "https://api.github.com/teams/2269997", - "html_url": "https://github.com/orgs/cloudbees/teams/knowledge", - "members_url": "https://api.github.com/teams/2269997/members{/member}", - "repositories_url": "https://api.github.com/teams/2269997/repos", - "permission": "pull" - }, - { - "name": "team-qa", - "id": 2283650, - "node_id": "MDQ6VGVhbTIyODM2NTA=", - "slug": "team-qa", - "description": "team-qa", - "privacy": "closed", - "url": "https://api.github.com/teams/2283650", - "html_url": "https://github.com/orgs/cloudbees/teams/team-qa", - "members_url": "https://api.github.com/teams/2283650/members{/member}", - "repositories_url": "https://api.github.com/teams/2283650/repos", - "permission": "pull" - }, - { - "name": "team-core-traditional", - "id": 2286168, - "node_id": "MDQ6VGVhbTIyODYxNjg=", - "slug": "team-core-traditional", - "description": "Team Core Traditional is the new Team Core Platform is the new Team Astro is the new Team CJP.", - "privacy": "closed", - "url": "https://api.github.com/teams/2286168", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core-traditional", - "members_url": "https://api.github.com/teams/2286168/members{/member}", - "repositories_url": "https://api.github.com/teams/2286168/repos", - "permission": "pull" - }, - { - "name": "OSS Team", - "id": 2295003, - "node_id": "MDQ6VGVhbTIyOTUwMDM=", - "slug": "oss-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2295003", - "html_url": "https://github.com/orgs/cloudbees/teams/oss-team", - "members_url": "https://api.github.com/teams/2295003/members{/member}", - "repositories_url": "https://api.github.com/teams/2295003/repos", - "permission": "pull" - }, - { - "name": "team-analytics", - "id": 2316328, - "node_id": "MDQ6VGVhbTIzMTYzMjg=", - "slug": "team-analytics", - "description": "DevOptics team", - "privacy": "closed", - "url": "https://api.github.com/teams/2316328", - "html_url": "https://github.com/orgs/cloudbees/teams/team-analytics", - "members_url": "https://api.github.com/teams/2316328/members{/member}", - "repositories_url": "https://api.github.com/teams/2316328/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-interns", - "id": 2377437, - "node_id": "MDQ6VGVhbTIzNzc0Mzc=", - "slug": "team-infra-cloudbees-interns", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2377437", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-interns", - "members_url": "https://api.github.com/teams/2377437/members{/member}", - "repositories_url": "https://api.github.com/teams/2377437/repos", - "permission": "pull" - }, - { - "name": "cje-reviewers", - "id": 2384898, - "node_id": "MDQ6VGVhbTIzODQ4OTg=", - "slug": "cje-reviewers", - "description": "CJE Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384898", - "html_url": "https://github.com/orgs/cloudbees/teams/cje-reviewers", - "members_url": "https://api.github.com/teams/2384898/members{/member}", - "repositories_url": "https://api.github.com/teams/2384898/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-41.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-41.json deleted file mode 100644 index e9477419e6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-41.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "team-core", - "id": 48329, - "node_id": "MDQ6VGVhbTQ4MzI5", - "slug": "team-core", - "description": null, - "privacy": "closed", - "url": "https://api.github.com/teams/48329", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core", - "members_url": "https://api.github.com/teams/48329/members{/member}", - "repositories_url": "https://api.github.com/teams/48329/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Admins", - "id": 48354, - "node_id": "MDQ6VGVhbTQ4MzU0", - "slug": "legacy-training-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/48354", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-admins", - "members_url": "https://api.github.com/teams/48354/members{/member}", - "repositories_url": "https://api.github.com/teams/48354/repos", - "permission": "push" - }, - { - "name": "cloudbees-ci", - "id": 49163, - "node_id": "MDQ6VGVhbTQ5MTYz", - "slug": "cloudbees-ci", - "description": "Shared account for granting CI systems access to code.", - "privacy": "closed", - "url": "https://api.github.com/teams/49163", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-ci", - "members_url": "https://api.github.com/teams/49163/members{/member}", - "repositories_url": "https://api.github.com/teams/49163/repos", - "permission": "push" - }, - { - "name": "team-dev-at-cloud", - "id": 70229, - "node_id": "MDQ6VGVhbTcwMjI5", - "slug": "team-dev-at-cloud", - "description": "DEV@cloud team", - "privacy": "closed", - "url": "https://api.github.com/teams/70229", - "html_url": "https://github.com/orgs/cloudbees/teams/team-dev-at-cloud", - "members_url": "https://api.github.com/teams/70229/members{/member}", - "repositories_url": "https://api.github.com/teams/70229/repos", - "permission": "push" - }, - { - "name": "team-support", - "id": 199796, - "node_id": "MDQ6VGVhbTE5OTc5Ng==", - "slug": "team-support", - "description": "Customer Support Engineers - DSE", - "privacy": "closed", - "url": "https://api.github.com/teams/199796", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support", - "members_url": "https://api.github.com/teams/199796/members{/member}", - "repositories_url": "https://api.github.com/teams/199796/repos", - "permission": "pull" - }, - { - "name": "docker-image-builders", - "id": 873357, - "node_id": "MDQ6VGVhbTg3MzM1Nw==", - "slug": "docker-image-builders", - "description": "For building docker images", - "privacy": "closed", - "url": "https://api.github.com/teams/873357", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-image-builders", - "members_url": "https://api.github.com/teams/873357/members{/member}", - "repositories_url": "https://api.github.com/teams/873357/repos", - "permission": "pull" - }, - { - "name": "team-documentation", - "id": 879403, - "node_id": "MDQ6VGVhbTg3OTQwMw==", - "slug": "team-documentation", - "description": "People who can contribute to documentation", - "privacy": "closed", - "url": "https://api.github.com/teams/879403", - "html_url": "https://github.com/orgs/cloudbees/teams/team-documentation", - "members_url": "https://api.github.com/teams/879403/members{/member}", - "repositories_url": "https://api.github.com/teams/879403/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise", - "id": 994169, - "node_id": "MDQ6VGVhbTk5NDE2OQ==", - "slug": "jenkins-enterprise", - "description": "Jenkins Enterprise and Jenkins Operations Center sources", - "privacy": "closed", - "url": "https://api.github.com/teams/994169", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise", - "members_url": "https://api.github.com/teams/994169/members{/member}", - "repositories_url": "https://api.github.com/teams/994169/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise RO", - "id": 1076175, - "node_id": "MDQ6VGVhbTEwNzYxNzU=", - "slug": "jenkins-enterprise-ro", - "description": "Jenkins Enterprise and Jenkins Operations Center sources - Read-Only", - "privacy": "closed", - "url": "https://api.github.com/teams/1076175", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise-ro", - "members_url": "https://api.github.com/teams/1076175/members{/member}", - "repositories_url": "https://api.github.com/teams/1076175/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations", - "id": 1310418, - "node_id": "MDQ6VGVhbTEzMTA0MTg=", - "slug": "team-infra-operations", - "description": "Operations Team", - "privacy": "closed", - "url": "https://api.github.com/teams/1310418", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations", - "members_url": "https://api.github.com/teams/1310418/members{/member}", - "repositories_url": "https://api.github.com/teams/1310418/repos", - "permission": "push" - }, - { - "name": "team-support-admin", - "id": 1336857, - "node_id": "MDQ6VGVhbTEzMzY4NTc=", - "slug": "team-support-admin", - "description": "Support Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1336857", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support-admin", - "members_url": "https://api.github.com/teams/1336857/members{/member}", - "repositories_url": "https://api.github.com/teams/1336857/repos", - "permission": "pull" - }, - { - "name": "docker-team-admin", - "id": 1354803, - "node_id": "MDQ6VGVhbTEzNTQ4MDM=", - "slug": "docker-team-admin", - "description": "Docker team Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1354803", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-team-admin", - "members_url": "https://api.github.com/teams/1354803/members{/member}", - "repositories_url": "https://api.github.com/teams/1354803/repos", - "permission": "pull" - }, - { - "name": "team-cloud-platform", - "id": 1427758, - "node_id": "MDQ6VGVhbTE0Mjc3NTg=", - "slug": "team-cloud-platform", - "description": "Engineers working on the Cloud Platform", - "privacy": "closed", - "url": "https://api.github.com/teams/1427758", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloud-platform", - "members_url": "https://api.github.com/teams/1427758/members{/member}", - "repositories_url": "https://api.github.com/teams/1427758/repos", - "permission": "push" - }, - { - "name": "team-infra-engineering-senior", - "id": 1427781, - "node_id": "MDQ6VGVhbTE0Mjc3ODE=", - "slug": "team-infra-engineering-senior", - "description": "Senior engineers - defined arbitrarily based on tenure, and seniority, and usually just asking for access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1427781", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-engineering-senior", - "members_url": "https://api.github.com/teams/1427781/members{/member}", - "repositories_url": "https://api.github.com/teams/1427781/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations-senior", - "id": 1449146, - "node_id": "MDQ6VGVhbTE0NDkxNDY=", - "slug": "team-infra-operations-senior", - "description": "Senior operations team - admin access to non-specific admin repositories", - "privacy": "closed", - "url": "https://api.github.com/teams/1449146", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations-senior", - "members_url": "https://api.github.com/teams/1449146/members{/member}", - "repositories_url": "https://api.github.com/teams/1449146/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-employees", - "id": 1450069, - "node_id": "MDQ6VGVhbTE0NTAwNjk=", - "slug": "team-infra-cloudbees-employees", - "description": "CloudBees employees - simple group that grants read access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1450069", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-employees", - "members_url": "https://api.github.com/teams/1450069/members{/member}", - "repositories_url": "https://api.github.com/teams/1450069/repos", - "permission": "pull" - }, - { - "name": "team-sa-admin", - "id": 1565127, - "node_id": "MDQ6VGVhbTE1NjUxMjc=", - "slug": "team-sa-admin", - "description": "Solution Arch admins", - "privacy": "closed", - "url": "https://api.github.com/teams/1565127", - "html_url": "https://github.com/orgs/cloudbees/teams/team-sa-admin", - "members_url": "https://api.github.com/teams/1565127/members{/member}", - "repositories_url": "https://api.github.com/teams/1565127/repos", - "permission": "pull" - }, - { - "name": "cloudbees-blueocean-ux", - "id": 1905178, - "node_id": "MDQ6VGVhbTE5MDUxNzg=", - "slug": "cloudbees-blueocean-ux", - "description": "BlueOcean UX project ", - "privacy": "closed", - "url": "https://api.github.com/teams/1905178", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-blueocean-ux", - "members_url": "https://api.github.com/teams/1905178/members{/member}", - "repositories_url": "https://api.github.com/teams/1905178/repos", - "permission": "pull" - }, - { - "name": "team-professional-services", - "id": 1914484, - "node_id": "MDQ6VGVhbTE5MTQ0ODQ=", - "slug": "team-professional-services", - "description": "Professional Services", - "privacy": "closed", - "url": "https://api.github.com/teams/1914484", - "html_url": "https://github.com/orgs/cloudbees/teams/team-professional-services", - "members_url": "https://api.github.com/teams/1914484/members{/member}", - "repositories_url": "https://api.github.com/teams/1914484/repos", - "permission": "pull" - }, - { - "name": "team-cjp-onboarding", - "id": 1939111, - "node_id": "MDQ6VGVhbTE5MzkxMTE=", - "slug": "team-cjp-onboarding", - "description": "for GC/SF/License work", - "privacy": "closed", - "url": "https://api.github.com/teams/1939111", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cjp-onboarding", - "members_url": "https://api.github.com/teams/1939111/members{/member}", - "repositories_url": "https://api.github.com/teams/1939111/repos", - "permission": "pull" - }, - { - "name": "team-alliances", - "id": 1991918, - "node_id": "MDQ6VGVhbTE5OTE5MTg=", - "slug": "team-alliances", - "description": "Alliances team", - "privacy": "closed", - "url": "https://api.github.com/teams/1991918", - "html_url": "https://github.com/orgs/cloudbees/teams/team-alliances", - "members_url": "https://api.github.com/teams/1991918/members{/member}", - "repositories_url": "https://api.github.com/teams/1991918/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Contributors", - "id": 2070581, - "node_id": "MDQ6VGVhbTIwNzA1ODE=", - "slug": "legacy-training-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2070581", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-contributors", - "members_url": "https://api.github.com/teams/2070581/members{/member}", - "repositories_url": "https://api.github.com/teams/2070581/repos", - "permission": "pull" - }, - { - "name": "team-productivity", - "id": 2187916, - "node_id": "MDQ6VGVhbTIxODc5MTY=", - "slug": "team-productivity", - "description": "Members of Productivity Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2187916", - "html_url": "https://github.com/orgs/cloudbees/teams/team-productivity", - "members_url": "https://api.github.com/teams/2187916/members{/member}", - "repositories_url": "https://api.github.com/teams/2187916/repos", - "permission": "pull" - }, - { - "name": "knowledge", - "id": 2269997, - "node_id": "MDQ6VGVhbTIyNjk5OTc=", - "slug": "knowledge", - "description": "Knowledge n' stuff", - "privacy": "closed", - "url": "https://api.github.com/teams/2269997", - "html_url": "https://github.com/orgs/cloudbees/teams/knowledge", - "members_url": "https://api.github.com/teams/2269997/members{/member}", - "repositories_url": "https://api.github.com/teams/2269997/repos", - "permission": "pull" - }, - { - "name": "team-qa", - "id": 2283650, - "node_id": "MDQ6VGVhbTIyODM2NTA=", - "slug": "team-qa", - "description": "team-qa", - "privacy": "closed", - "url": "https://api.github.com/teams/2283650", - "html_url": "https://github.com/orgs/cloudbees/teams/team-qa", - "members_url": "https://api.github.com/teams/2283650/members{/member}", - "repositories_url": "https://api.github.com/teams/2283650/repos", - "permission": "pull" - }, - { - "name": "team-core-traditional", - "id": 2286168, - "node_id": "MDQ6VGVhbTIyODYxNjg=", - "slug": "team-core-traditional", - "description": "Team Core Traditional is the new Team Core Platform is the new Team Astro is the new Team CJP.", - "privacy": "closed", - "url": "https://api.github.com/teams/2286168", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core-traditional", - "members_url": "https://api.github.com/teams/2286168/members{/member}", - "repositories_url": "https://api.github.com/teams/2286168/repos", - "permission": "pull" - }, - { - "name": "OSS Team", - "id": 2295003, - "node_id": "MDQ6VGVhbTIyOTUwMDM=", - "slug": "oss-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2295003", - "html_url": "https://github.com/orgs/cloudbees/teams/oss-team", - "members_url": "https://api.github.com/teams/2295003/members{/member}", - "repositories_url": "https://api.github.com/teams/2295003/repos", - "permission": "pull" - }, - { - "name": "team-analytics", - "id": 2316328, - "node_id": "MDQ6VGVhbTIzMTYzMjg=", - "slug": "team-analytics", - "description": "DevOptics team", - "privacy": "closed", - "url": "https://api.github.com/teams/2316328", - "html_url": "https://github.com/orgs/cloudbees/teams/team-analytics", - "members_url": "https://api.github.com/teams/2316328/members{/member}", - "repositories_url": "https://api.github.com/teams/2316328/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-interns", - "id": 2377437, - "node_id": "MDQ6VGVhbTIzNzc0Mzc=", - "slug": "team-infra-cloudbees-interns", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2377437", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-interns", - "members_url": "https://api.github.com/teams/2377437/members{/member}", - "repositories_url": "https://api.github.com/teams/2377437/repos", - "permission": "pull" - }, - { - "name": "cje-reviewers", - "id": 2384898, - "node_id": "MDQ6VGVhbTIzODQ4OTg=", - "slug": "cje-reviewers", - "description": "CJE Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384898", - "html_url": "https://github.com/orgs/cloudbees/teams/cje-reviewers", - "members_url": "https://api.github.com/teams/2384898/members{/member}", - "repositories_url": "https://api.github.com/teams/2384898/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-43.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-43.json deleted file mode 100644 index e9477419e6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-43.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "team-core", - "id": 48329, - "node_id": "MDQ6VGVhbTQ4MzI5", - "slug": "team-core", - "description": null, - "privacy": "closed", - "url": "https://api.github.com/teams/48329", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core", - "members_url": "https://api.github.com/teams/48329/members{/member}", - "repositories_url": "https://api.github.com/teams/48329/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Admins", - "id": 48354, - "node_id": "MDQ6VGVhbTQ4MzU0", - "slug": "legacy-training-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/48354", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-admins", - "members_url": "https://api.github.com/teams/48354/members{/member}", - "repositories_url": "https://api.github.com/teams/48354/repos", - "permission": "push" - }, - { - "name": "cloudbees-ci", - "id": 49163, - "node_id": "MDQ6VGVhbTQ5MTYz", - "slug": "cloudbees-ci", - "description": "Shared account for granting CI systems access to code.", - "privacy": "closed", - "url": "https://api.github.com/teams/49163", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-ci", - "members_url": "https://api.github.com/teams/49163/members{/member}", - "repositories_url": "https://api.github.com/teams/49163/repos", - "permission": "push" - }, - { - "name": "team-dev-at-cloud", - "id": 70229, - "node_id": "MDQ6VGVhbTcwMjI5", - "slug": "team-dev-at-cloud", - "description": "DEV@cloud team", - "privacy": "closed", - "url": "https://api.github.com/teams/70229", - "html_url": "https://github.com/orgs/cloudbees/teams/team-dev-at-cloud", - "members_url": "https://api.github.com/teams/70229/members{/member}", - "repositories_url": "https://api.github.com/teams/70229/repos", - "permission": "push" - }, - { - "name": "team-support", - "id": 199796, - "node_id": "MDQ6VGVhbTE5OTc5Ng==", - "slug": "team-support", - "description": "Customer Support Engineers - DSE", - "privacy": "closed", - "url": "https://api.github.com/teams/199796", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support", - "members_url": "https://api.github.com/teams/199796/members{/member}", - "repositories_url": "https://api.github.com/teams/199796/repos", - "permission": "pull" - }, - { - "name": "docker-image-builders", - "id": 873357, - "node_id": "MDQ6VGVhbTg3MzM1Nw==", - "slug": "docker-image-builders", - "description": "For building docker images", - "privacy": "closed", - "url": "https://api.github.com/teams/873357", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-image-builders", - "members_url": "https://api.github.com/teams/873357/members{/member}", - "repositories_url": "https://api.github.com/teams/873357/repos", - "permission": "pull" - }, - { - "name": "team-documentation", - "id": 879403, - "node_id": "MDQ6VGVhbTg3OTQwMw==", - "slug": "team-documentation", - "description": "People who can contribute to documentation", - "privacy": "closed", - "url": "https://api.github.com/teams/879403", - "html_url": "https://github.com/orgs/cloudbees/teams/team-documentation", - "members_url": "https://api.github.com/teams/879403/members{/member}", - "repositories_url": "https://api.github.com/teams/879403/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise", - "id": 994169, - "node_id": "MDQ6VGVhbTk5NDE2OQ==", - "slug": "jenkins-enterprise", - "description": "Jenkins Enterprise and Jenkins Operations Center sources", - "privacy": "closed", - "url": "https://api.github.com/teams/994169", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise", - "members_url": "https://api.github.com/teams/994169/members{/member}", - "repositories_url": "https://api.github.com/teams/994169/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise RO", - "id": 1076175, - "node_id": "MDQ6VGVhbTEwNzYxNzU=", - "slug": "jenkins-enterprise-ro", - "description": "Jenkins Enterprise and Jenkins Operations Center sources - Read-Only", - "privacy": "closed", - "url": "https://api.github.com/teams/1076175", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise-ro", - "members_url": "https://api.github.com/teams/1076175/members{/member}", - "repositories_url": "https://api.github.com/teams/1076175/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations", - "id": 1310418, - "node_id": "MDQ6VGVhbTEzMTA0MTg=", - "slug": "team-infra-operations", - "description": "Operations Team", - "privacy": "closed", - "url": "https://api.github.com/teams/1310418", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations", - "members_url": "https://api.github.com/teams/1310418/members{/member}", - "repositories_url": "https://api.github.com/teams/1310418/repos", - "permission": "push" - }, - { - "name": "team-support-admin", - "id": 1336857, - "node_id": "MDQ6VGVhbTEzMzY4NTc=", - "slug": "team-support-admin", - "description": "Support Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1336857", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support-admin", - "members_url": "https://api.github.com/teams/1336857/members{/member}", - "repositories_url": "https://api.github.com/teams/1336857/repos", - "permission": "pull" - }, - { - "name": "docker-team-admin", - "id": 1354803, - "node_id": "MDQ6VGVhbTEzNTQ4MDM=", - "slug": "docker-team-admin", - "description": "Docker team Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1354803", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-team-admin", - "members_url": "https://api.github.com/teams/1354803/members{/member}", - "repositories_url": "https://api.github.com/teams/1354803/repos", - "permission": "pull" - }, - { - "name": "team-cloud-platform", - "id": 1427758, - "node_id": "MDQ6VGVhbTE0Mjc3NTg=", - "slug": "team-cloud-platform", - "description": "Engineers working on the Cloud Platform", - "privacy": "closed", - "url": "https://api.github.com/teams/1427758", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloud-platform", - "members_url": "https://api.github.com/teams/1427758/members{/member}", - "repositories_url": "https://api.github.com/teams/1427758/repos", - "permission": "push" - }, - { - "name": "team-infra-engineering-senior", - "id": 1427781, - "node_id": "MDQ6VGVhbTE0Mjc3ODE=", - "slug": "team-infra-engineering-senior", - "description": "Senior engineers - defined arbitrarily based on tenure, and seniority, and usually just asking for access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1427781", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-engineering-senior", - "members_url": "https://api.github.com/teams/1427781/members{/member}", - "repositories_url": "https://api.github.com/teams/1427781/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations-senior", - "id": 1449146, - "node_id": "MDQ6VGVhbTE0NDkxNDY=", - "slug": "team-infra-operations-senior", - "description": "Senior operations team - admin access to non-specific admin repositories", - "privacy": "closed", - "url": "https://api.github.com/teams/1449146", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations-senior", - "members_url": "https://api.github.com/teams/1449146/members{/member}", - "repositories_url": "https://api.github.com/teams/1449146/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-employees", - "id": 1450069, - "node_id": "MDQ6VGVhbTE0NTAwNjk=", - "slug": "team-infra-cloudbees-employees", - "description": "CloudBees employees - simple group that grants read access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1450069", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-employees", - "members_url": "https://api.github.com/teams/1450069/members{/member}", - "repositories_url": "https://api.github.com/teams/1450069/repos", - "permission": "pull" - }, - { - "name": "team-sa-admin", - "id": 1565127, - "node_id": "MDQ6VGVhbTE1NjUxMjc=", - "slug": "team-sa-admin", - "description": "Solution Arch admins", - "privacy": "closed", - "url": "https://api.github.com/teams/1565127", - "html_url": "https://github.com/orgs/cloudbees/teams/team-sa-admin", - "members_url": "https://api.github.com/teams/1565127/members{/member}", - "repositories_url": "https://api.github.com/teams/1565127/repos", - "permission": "pull" - }, - { - "name": "cloudbees-blueocean-ux", - "id": 1905178, - "node_id": "MDQ6VGVhbTE5MDUxNzg=", - "slug": "cloudbees-blueocean-ux", - "description": "BlueOcean UX project ", - "privacy": "closed", - "url": "https://api.github.com/teams/1905178", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-blueocean-ux", - "members_url": "https://api.github.com/teams/1905178/members{/member}", - "repositories_url": "https://api.github.com/teams/1905178/repos", - "permission": "pull" - }, - { - "name": "team-professional-services", - "id": 1914484, - "node_id": "MDQ6VGVhbTE5MTQ0ODQ=", - "slug": "team-professional-services", - "description": "Professional Services", - "privacy": "closed", - "url": "https://api.github.com/teams/1914484", - "html_url": "https://github.com/orgs/cloudbees/teams/team-professional-services", - "members_url": "https://api.github.com/teams/1914484/members{/member}", - "repositories_url": "https://api.github.com/teams/1914484/repos", - "permission": "pull" - }, - { - "name": "team-cjp-onboarding", - "id": 1939111, - "node_id": "MDQ6VGVhbTE5MzkxMTE=", - "slug": "team-cjp-onboarding", - "description": "for GC/SF/License work", - "privacy": "closed", - "url": "https://api.github.com/teams/1939111", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cjp-onboarding", - "members_url": "https://api.github.com/teams/1939111/members{/member}", - "repositories_url": "https://api.github.com/teams/1939111/repos", - "permission": "pull" - }, - { - "name": "team-alliances", - "id": 1991918, - "node_id": "MDQ6VGVhbTE5OTE5MTg=", - "slug": "team-alliances", - "description": "Alliances team", - "privacy": "closed", - "url": "https://api.github.com/teams/1991918", - "html_url": "https://github.com/orgs/cloudbees/teams/team-alliances", - "members_url": "https://api.github.com/teams/1991918/members{/member}", - "repositories_url": "https://api.github.com/teams/1991918/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Contributors", - "id": 2070581, - "node_id": "MDQ6VGVhbTIwNzA1ODE=", - "slug": "legacy-training-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2070581", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-contributors", - "members_url": "https://api.github.com/teams/2070581/members{/member}", - "repositories_url": "https://api.github.com/teams/2070581/repos", - "permission": "pull" - }, - { - "name": "team-productivity", - "id": 2187916, - "node_id": "MDQ6VGVhbTIxODc5MTY=", - "slug": "team-productivity", - "description": "Members of Productivity Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2187916", - "html_url": "https://github.com/orgs/cloudbees/teams/team-productivity", - "members_url": "https://api.github.com/teams/2187916/members{/member}", - "repositories_url": "https://api.github.com/teams/2187916/repos", - "permission": "pull" - }, - { - "name": "knowledge", - "id": 2269997, - "node_id": "MDQ6VGVhbTIyNjk5OTc=", - "slug": "knowledge", - "description": "Knowledge n' stuff", - "privacy": "closed", - "url": "https://api.github.com/teams/2269997", - "html_url": "https://github.com/orgs/cloudbees/teams/knowledge", - "members_url": "https://api.github.com/teams/2269997/members{/member}", - "repositories_url": "https://api.github.com/teams/2269997/repos", - "permission": "pull" - }, - { - "name": "team-qa", - "id": 2283650, - "node_id": "MDQ6VGVhbTIyODM2NTA=", - "slug": "team-qa", - "description": "team-qa", - "privacy": "closed", - "url": "https://api.github.com/teams/2283650", - "html_url": "https://github.com/orgs/cloudbees/teams/team-qa", - "members_url": "https://api.github.com/teams/2283650/members{/member}", - "repositories_url": "https://api.github.com/teams/2283650/repos", - "permission": "pull" - }, - { - "name": "team-core-traditional", - "id": 2286168, - "node_id": "MDQ6VGVhbTIyODYxNjg=", - "slug": "team-core-traditional", - "description": "Team Core Traditional is the new Team Core Platform is the new Team Astro is the new Team CJP.", - "privacy": "closed", - "url": "https://api.github.com/teams/2286168", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core-traditional", - "members_url": "https://api.github.com/teams/2286168/members{/member}", - "repositories_url": "https://api.github.com/teams/2286168/repos", - "permission": "pull" - }, - { - "name": "OSS Team", - "id": 2295003, - "node_id": "MDQ6VGVhbTIyOTUwMDM=", - "slug": "oss-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2295003", - "html_url": "https://github.com/orgs/cloudbees/teams/oss-team", - "members_url": "https://api.github.com/teams/2295003/members{/member}", - "repositories_url": "https://api.github.com/teams/2295003/repos", - "permission": "pull" - }, - { - "name": "team-analytics", - "id": 2316328, - "node_id": "MDQ6VGVhbTIzMTYzMjg=", - "slug": "team-analytics", - "description": "DevOptics team", - "privacy": "closed", - "url": "https://api.github.com/teams/2316328", - "html_url": "https://github.com/orgs/cloudbees/teams/team-analytics", - "members_url": "https://api.github.com/teams/2316328/members{/member}", - "repositories_url": "https://api.github.com/teams/2316328/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-interns", - "id": 2377437, - "node_id": "MDQ6VGVhbTIzNzc0Mzc=", - "slug": "team-infra-cloudbees-interns", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2377437", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-interns", - "members_url": "https://api.github.com/teams/2377437/members{/member}", - "repositories_url": "https://api.github.com/teams/2377437/repos", - "permission": "pull" - }, - { - "name": "cje-reviewers", - "id": 2384898, - "node_id": "MDQ6VGVhbTIzODQ4OTg=", - "slug": "cje-reviewers", - "description": "CJE Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384898", - "html_url": "https://github.com/orgs/cloudbees/teams/cje-reviewers", - "members_url": "https://api.github.com/teams/2384898/members{/member}", - "repositories_url": "https://api.github.com/teams/2384898/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-46.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-46.json deleted file mode 100644 index e9477419e6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-46.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "team-core", - "id": 48329, - "node_id": "MDQ6VGVhbTQ4MzI5", - "slug": "team-core", - "description": null, - "privacy": "closed", - "url": "https://api.github.com/teams/48329", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core", - "members_url": "https://api.github.com/teams/48329/members{/member}", - "repositories_url": "https://api.github.com/teams/48329/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Admins", - "id": 48354, - "node_id": "MDQ6VGVhbTQ4MzU0", - "slug": "legacy-training-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/48354", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-admins", - "members_url": "https://api.github.com/teams/48354/members{/member}", - "repositories_url": "https://api.github.com/teams/48354/repos", - "permission": "push" - }, - { - "name": "cloudbees-ci", - "id": 49163, - "node_id": "MDQ6VGVhbTQ5MTYz", - "slug": "cloudbees-ci", - "description": "Shared account for granting CI systems access to code.", - "privacy": "closed", - "url": "https://api.github.com/teams/49163", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-ci", - "members_url": "https://api.github.com/teams/49163/members{/member}", - "repositories_url": "https://api.github.com/teams/49163/repos", - "permission": "push" - }, - { - "name": "team-dev-at-cloud", - "id": 70229, - "node_id": "MDQ6VGVhbTcwMjI5", - "slug": "team-dev-at-cloud", - "description": "DEV@cloud team", - "privacy": "closed", - "url": "https://api.github.com/teams/70229", - "html_url": "https://github.com/orgs/cloudbees/teams/team-dev-at-cloud", - "members_url": "https://api.github.com/teams/70229/members{/member}", - "repositories_url": "https://api.github.com/teams/70229/repos", - "permission": "push" - }, - { - "name": "team-support", - "id": 199796, - "node_id": "MDQ6VGVhbTE5OTc5Ng==", - "slug": "team-support", - "description": "Customer Support Engineers - DSE", - "privacy": "closed", - "url": "https://api.github.com/teams/199796", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support", - "members_url": "https://api.github.com/teams/199796/members{/member}", - "repositories_url": "https://api.github.com/teams/199796/repos", - "permission": "pull" - }, - { - "name": "docker-image-builders", - "id": 873357, - "node_id": "MDQ6VGVhbTg3MzM1Nw==", - "slug": "docker-image-builders", - "description": "For building docker images", - "privacy": "closed", - "url": "https://api.github.com/teams/873357", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-image-builders", - "members_url": "https://api.github.com/teams/873357/members{/member}", - "repositories_url": "https://api.github.com/teams/873357/repos", - "permission": "pull" - }, - { - "name": "team-documentation", - "id": 879403, - "node_id": "MDQ6VGVhbTg3OTQwMw==", - "slug": "team-documentation", - "description": "People who can contribute to documentation", - "privacy": "closed", - "url": "https://api.github.com/teams/879403", - "html_url": "https://github.com/orgs/cloudbees/teams/team-documentation", - "members_url": "https://api.github.com/teams/879403/members{/member}", - "repositories_url": "https://api.github.com/teams/879403/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise", - "id": 994169, - "node_id": "MDQ6VGVhbTk5NDE2OQ==", - "slug": "jenkins-enterprise", - "description": "Jenkins Enterprise and Jenkins Operations Center sources", - "privacy": "closed", - "url": "https://api.github.com/teams/994169", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise", - "members_url": "https://api.github.com/teams/994169/members{/member}", - "repositories_url": "https://api.github.com/teams/994169/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise RO", - "id": 1076175, - "node_id": "MDQ6VGVhbTEwNzYxNzU=", - "slug": "jenkins-enterprise-ro", - "description": "Jenkins Enterprise and Jenkins Operations Center sources - Read-Only", - "privacy": "closed", - "url": "https://api.github.com/teams/1076175", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise-ro", - "members_url": "https://api.github.com/teams/1076175/members{/member}", - "repositories_url": "https://api.github.com/teams/1076175/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations", - "id": 1310418, - "node_id": "MDQ6VGVhbTEzMTA0MTg=", - "slug": "team-infra-operations", - "description": "Operations Team", - "privacy": "closed", - "url": "https://api.github.com/teams/1310418", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations", - "members_url": "https://api.github.com/teams/1310418/members{/member}", - "repositories_url": "https://api.github.com/teams/1310418/repos", - "permission": "push" - }, - { - "name": "team-support-admin", - "id": 1336857, - "node_id": "MDQ6VGVhbTEzMzY4NTc=", - "slug": "team-support-admin", - "description": "Support Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1336857", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support-admin", - "members_url": "https://api.github.com/teams/1336857/members{/member}", - "repositories_url": "https://api.github.com/teams/1336857/repos", - "permission": "pull" - }, - { - "name": "docker-team-admin", - "id": 1354803, - "node_id": "MDQ6VGVhbTEzNTQ4MDM=", - "slug": "docker-team-admin", - "description": "Docker team Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1354803", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-team-admin", - "members_url": "https://api.github.com/teams/1354803/members{/member}", - "repositories_url": "https://api.github.com/teams/1354803/repos", - "permission": "pull" - }, - { - "name": "team-cloud-platform", - "id": 1427758, - "node_id": "MDQ6VGVhbTE0Mjc3NTg=", - "slug": "team-cloud-platform", - "description": "Engineers working on the Cloud Platform", - "privacy": "closed", - "url": "https://api.github.com/teams/1427758", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloud-platform", - "members_url": "https://api.github.com/teams/1427758/members{/member}", - "repositories_url": "https://api.github.com/teams/1427758/repos", - "permission": "push" - }, - { - "name": "team-infra-engineering-senior", - "id": 1427781, - "node_id": "MDQ6VGVhbTE0Mjc3ODE=", - "slug": "team-infra-engineering-senior", - "description": "Senior engineers - defined arbitrarily based on tenure, and seniority, and usually just asking for access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1427781", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-engineering-senior", - "members_url": "https://api.github.com/teams/1427781/members{/member}", - "repositories_url": "https://api.github.com/teams/1427781/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations-senior", - "id": 1449146, - "node_id": "MDQ6VGVhbTE0NDkxNDY=", - "slug": "team-infra-operations-senior", - "description": "Senior operations team - admin access to non-specific admin repositories", - "privacy": "closed", - "url": "https://api.github.com/teams/1449146", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations-senior", - "members_url": "https://api.github.com/teams/1449146/members{/member}", - "repositories_url": "https://api.github.com/teams/1449146/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-employees", - "id": 1450069, - "node_id": "MDQ6VGVhbTE0NTAwNjk=", - "slug": "team-infra-cloudbees-employees", - "description": "CloudBees employees - simple group that grants read access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1450069", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-employees", - "members_url": "https://api.github.com/teams/1450069/members{/member}", - "repositories_url": "https://api.github.com/teams/1450069/repos", - "permission": "pull" - }, - { - "name": "team-sa-admin", - "id": 1565127, - "node_id": "MDQ6VGVhbTE1NjUxMjc=", - "slug": "team-sa-admin", - "description": "Solution Arch admins", - "privacy": "closed", - "url": "https://api.github.com/teams/1565127", - "html_url": "https://github.com/orgs/cloudbees/teams/team-sa-admin", - "members_url": "https://api.github.com/teams/1565127/members{/member}", - "repositories_url": "https://api.github.com/teams/1565127/repos", - "permission": "pull" - }, - { - "name": "cloudbees-blueocean-ux", - "id": 1905178, - "node_id": "MDQ6VGVhbTE5MDUxNzg=", - "slug": "cloudbees-blueocean-ux", - "description": "BlueOcean UX project ", - "privacy": "closed", - "url": "https://api.github.com/teams/1905178", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-blueocean-ux", - "members_url": "https://api.github.com/teams/1905178/members{/member}", - "repositories_url": "https://api.github.com/teams/1905178/repos", - "permission": "pull" - }, - { - "name": "team-professional-services", - "id": 1914484, - "node_id": "MDQ6VGVhbTE5MTQ0ODQ=", - "slug": "team-professional-services", - "description": "Professional Services", - "privacy": "closed", - "url": "https://api.github.com/teams/1914484", - "html_url": "https://github.com/orgs/cloudbees/teams/team-professional-services", - "members_url": "https://api.github.com/teams/1914484/members{/member}", - "repositories_url": "https://api.github.com/teams/1914484/repos", - "permission": "pull" - }, - { - "name": "team-cjp-onboarding", - "id": 1939111, - "node_id": "MDQ6VGVhbTE5MzkxMTE=", - "slug": "team-cjp-onboarding", - "description": "for GC/SF/License work", - "privacy": "closed", - "url": "https://api.github.com/teams/1939111", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cjp-onboarding", - "members_url": "https://api.github.com/teams/1939111/members{/member}", - "repositories_url": "https://api.github.com/teams/1939111/repos", - "permission": "pull" - }, - { - "name": "team-alliances", - "id": 1991918, - "node_id": "MDQ6VGVhbTE5OTE5MTg=", - "slug": "team-alliances", - "description": "Alliances team", - "privacy": "closed", - "url": "https://api.github.com/teams/1991918", - "html_url": "https://github.com/orgs/cloudbees/teams/team-alliances", - "members_url": "https://api.github.com/teams/1991918/members{/member}", - "repositories_url": "https://api.github.com/teams/1991918/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Contributors", - "id": 2070581, - "node_id": "MDQ6VGVhbTIwNzA1ODE=", - "slug": "legacy-training-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2070581", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-contributors", - "members_url": "https://api.github.com/teams/2070581/members{/member}", - "repositories_url": "https://api.github.com/teams/2070581/repos", - "permission": "pull" - }, - { - "name": "team-productivity", - "id": 2187916, - "node_id": "MDQ6VGVhbTIxODc5MTY=", - "slug": "team-productivity", - "description": "Members of Productivity Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2187916", - "html_url": "https://github.com/orgs/cloudbees/teams/team-productivity", - "members_url": "https://api.github.com/teams/2187916/members{/member}", - "repositories_url": "https://api.github.com/teams/2187916/repos", - "permission": "pull" - }, - { - "name": "knowledge", - "id": 2269997, - "node_id": "MDQ6VGVhbTIyNjk5OTc=", - "slug": "knowledge", - "description": "Knowledge n' stuff", - "privacy": "closed", - "url": "https://api.github.com/teams/2269997", - "html_url": "https://github.com/orgs/cloudbees/teams/knowledge", - "members_url": "https://api.github.com/teams/2269997/members{/member}", - "repositories_url": "https://api.github.com/teams/2269997/repos", - "permission": "pull" - }, - { - "name": "team-qa", - "id": 2283650, - "node_id": "MDQ6VGVhbTIyODM2NTA=", - "slug": "team-qa", - "description": "team-qa", - "privacy": "closed", - "url": "https://api.github.com/teams/2283650", - "html_url": "https://github.com/orgs/cloudbees/teams/team-qa", - "members_url": "https://api.github.com/teams/2283650/members{/member}", - "repositories_url": "https://api.github.com/teams/2283650/repos", - "permission": "pull" - }, - { - "name": "team-core-traditional", - "id": 2286168, - "node_id": "MDQ6VGVhbTIyODYxNjg=", - "slug": "team-core-traditional", - "description": "Team Core Traditional is the new Team Core Platform is the new Team Astro is the new Team CJP.", - "privacy": "closed", - "url": "https://api.github.com/teams/2286168", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core-traditional", - "members_url": "https://api.github.com/teams/2286168/members{/member}", - "repositories_url": "https://api.github.com/teams/2286168/repos", - "permission": "pull" - }, - { - "name": "OSS Team", - "id": 2295003, - "node_id": "MDQ6VGVhbTIyOTUwMDM=", - "slug": "oss-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2295003", - "html_url": "https://github.com/orgs/cloudbees/teams/oss-team", - "members_url": "https://api.github.com/teams/2295003/members{/member}", - "repositories_url": "https://api.github.com/teams/2295003/repos", - "permission": "pull" - }, - { - "name": "team-analytics", - "id": 2316328, - "node_id": "MDQ6VGVhbTIzMTYzMjg=", - "slug": "team-analytics", - "description": "DevOptics team", - "privacy": "closed", - "url": "https://api.github.com/teams/2316328", - "html_url": "https://github.com/orgs/cloudbees/teams/team-analytics", - "members_url": "https://api.github.com/teams/2316328/members{/member}", - "repositories_url": "https://api.github.com/teams/2316328/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-interns", - "id": 2377437, - "node_id": "MDQ6VGVhbTIzNzc0Mzc=", - "slug": "team-infra-cloudbees-interns", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2377437", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-interns", - "members_url": "https://api.github.com/teams/2377437/members{/member}", - "repositories_url": "https://api.github.com/teams/2377437/repos", - "permission": "pull" - }, - { - "name": "cje-reviewers", - "id": 2384898, - "node_id": "MDQ6VGVhbTIzODQ4OTg=", - "slug": "cje-reviewers", - "description": "CJE Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384898", - "html_url": "https://github.com/orgs/cloudbees/teams/cje-reviewers", - "members_url": "https://api.github.com/teams/2384898/members{/member}", - "repositories_url": "https://api.github.com/teams/2384898/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-49.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-49.json deleted file mode 100644 index e9477419e6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_cloudbees_teams-49.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "team-core", - "id": 48329, - "node_id": "MDQ6VGVhbTQ4MzI5", - "slug": "team-core", - "description": null, - "privacy": "closed", - "url": "https://api.github.com/teams/48329", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core", - "members_url": "https://api.github.com/teams/48329/members{/member}", - "repositories_url": "https://api.github.com/teams/48329/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Admins", - "id": 48354, - "node_id": "MDQ6VGVhbTQ4MzU0", - "slug": "legacy-training-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/48354", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-admins", - "members_url": "https://api.github.com/teams/48354/members{/member}", - "repositories_url": "https://api.github.com/teams/48354/repos", - "permission": "push" - }, - { - "name": "cloudbees-ci", - "id": 49163, - "node_id": "MDQ6VGVhbTQ5MTYz", - "slug": "cloudbees-ci", - "description": "Shared account for granting CI systems access to code.", - "privacy": "closed", - "url": "https://api.github.com/teams/49163", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-ci", - "members_url": "https://api.github.com/teams/49163/members{/member}", - "repositories_url": "https://api.github.com/teams/49163/repos", - "permission": "push" - }, - { - "name": "team-dev-at-cloud", - "id": 70229, - "node_id": "MDQ6VGVhbTcwMjI5", - "slug": "team-dev-at-cloud", - "description": "DEV@cloud team", - "privacy": "closed", - "url": "https://api.github.com/teams/70229", - "html_url": "https://github.com/orgs/cloudbees/teams/team-dev-at-cloud", - "members_url": "https://api.github.com/teams/70229/members{/member}", - "repositories_url": "https://api.github.com/teams/70229/repos", - "permission": "push" - }, - { - "name": "team-support", - "id": 199796, - "node_id": "MDQ6VGVhbTE5OTc5Ng==", - "slug": "team-support", - "description": "Customer Support Engineers - DSE", - "privacy": "closed", - "url": "https://api.github.com/teams/199796", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support", - "members_url": "https://api.github.com/teams/199796/members{/member}", - "repositories_url": "https://api.github.com/teams/199796/repos", - "permission": "pull" - }, - { - "name": "docker-image-builders", - "id": 873357, - "node_id": "MDQ6VGVhbTg3MzM1Nw==", - "slug": "docker-image-builders", - "description": "For building docker images", - "privacy": "closed", - "url": "https://api.github.com/teams/873357", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-image-builders", - "members_url": "https://api.github.com/teams/873357/members{/member}", - "repositories_url": "https://api.github.com/teams/873357/repos", - "permission": "pull" - }, - { - "name": "team-documentation", - "id": 879403, - "node_id": "MDQ6VGVhbTg3OTQwMw==", - "slug": "team-documentation", - "description": "People who can contribute to documentation", - "privacy": "closed", - "url": "https://api.github.com/teams/879403", - "html_url": "https://github.com/orgs/cloudbees/teams/team-documentation", - "members_url": "https://api.github.com/teams/879403/members{/member}", - "repositories_url": "https://api.github.com/teams/879403/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise", - "id": 994169, - "node_id": "MDQ6VGVhbTk5NDE2OQ==", - "slug": "jenkins-enterprise", - "description": "Jenkins Enterprise and Jenkins Operations Center sources", - "privacy": "closed", - "url": "https://api.github.com/teams/994169", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise", - "members_url": "https://api.github.com/teams/994169/members{/member}", - "repositories_url": "https://api.github.com/teams/994169/repos", - "permission": "push" - }, - { - "name": "Jenkins Enterprise RO", - "id": 1076175, - "node_id": "MDQ6VGVhbTEwNzYxNzU=", - "slug": "jenkins-enterprise-ro", - "description": "Jenkins Enterprise and Jenkins Operations Center sources - Read-Only", - "privacy": "closed", - "url": "https://api.github.com/teams/1076175", - "html_url": "https://github.com/orgs/cloudbees/teams/jenkins-enterprise-ro", - "members_url": "https://api.github.com/teams/1076175/members{/member}", - "repositories_url": "https://api.github.com/teams/1076175/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations", - "id": 1310418, - "node_id": "MDQ6VGVhbTEzMTA0MTg=", - "slug": "team-infra-operations", - "description": "Operations Team", - "privacy": "closed", - "url": "https://api.github.com/teams/1310418", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations", - "members_url": "https://api.github.com/teams/1310418/members{/member}", - "repositories_url": "https://api.github.com/teams/1310418/repos", - "permission": "push" - }, - { - "name": "team-support-admin", - "id": 1336857, - "node_id": "MDQ6VGVhbTEzMzY4NTc=", - "slug": "team-support-admin", - "description": "Support Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1336857", - "html_url": "https://github.com/orgs/cloudbees/teams/team-support-admin", - "members_url": "https://api.github.com/teams/1336857/members{/member}", - "repositories_url": "https://api.github.com/teams/1336857/repos", - "permission": "pull" - }, - { - "name": "docker-team-admin", - "id": 1354803, - "node_id": "MDQ6VGVhbTEzNTQ4MDM=", - "slug": "docker-team-admin", - "description": "Docker team Admin", - "privacy": "closed", - "url": "https://api.github.com/teams/1354803", - "html_url": "https://github.com/orgs/cloudbees/teams/docker-team-admin", - "members_url": "https://api.github.com/teams/1354803/members{/member}", - "repositories_url": "https://api.github.com/teams/1354803/repos", - "permission": "pull" - }, - { - "name": "team-cloud-platform", - "id": 1427758, - "node_id": "MDQ6VGVhbTE0Mjc3NTg=", - "slug": "team-cloud-platform", - "description": "Engineers working on the Cloud Platform", - "privacy": "closed", - "url": "https://api.github.com/teams/1427758", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cloud-platform", - "members_url": "https://api.github.com/teams/1427758/members{/member}", - "repositories_url": "https://api.github.com/teams/1427758/repos", - "permission": "push" - }, - { - "name": "team-infra-engineering-senior", - "id": 1427781, - "node_id": "MDQ6VGVhbTE0Mjc3ODE=", - "slug": "team-infra-engineering-senior", - "description": "Senior engineers - defined arbitrarily based on tenure, and seniority, and usually just asking for access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1427781", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-engineering-senior", - "members_url": "https://api.github.com/teams/1427781/members{/member}", - "repositories_url": "https://api.github.com/teams/1427781/repos", - "permission": "pull" - }, - { - "name": "team-infra-operations-senior", - "id": 1449146, - "node_id": "MDQ6VGVhbTE0NDkxNDY=", - "slug": "team-infra-operations-senior", - "description": "Senior operations team - admin access to non-specific admin repositories", - "privacy": "closed", - "url": "https://api.github.com/teams/1449146", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-operations-senior", - "members_url": "https://api.github.com/teams/1449146/members{/member}", - "repositories_url": "https://api.github.com/teams/1449146/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-employees", - "id": 1450069, - "node_id": "MDQ6VGVhbTE0NTAwNjk=", - "slug": "team-infra-cloudbees-employees", - "description": "CloudBees employees - simple group that grants read access.", - "privacy": "closed", - "url": "https://api.github.com/teams/1450069", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-employees", - "members_url": "https://api.github.com/teams/1450069/members{/member}", - "repositories_url": "https://api.github.com/teams/1450069/repos", - "permission": "pull" - }, - { - "name": "team-sa-admin", - "id": 1565127, - "node_id": "MDQ6VGVhbTE1NjUxMjc=", - "slug": "team-sa-admin", - "description": "Solution Arch admins", - "privacy": "closed", - "url": "https://api.github.com/teams/1565127", - "html_url": "https://github.com/orgs/cloudbees/teams/team-sa-admin", - "members_url": "https://api.github.com/teams/1565127/members{/member}", - "repositories_url": "https://api.github.com/teams/1565127/repos", - "permission": "pull" - }, - { - "name": "cloudbees-blueocean-ux", - "id": 1905178, - "node_id": "MDQ6VGVhbTE5MDUxNzg=", - "slug": "cloudbees-blueocean-ux", - "description": "BlueOcean UX project ", - "privacy": "closed", - "url": "https://api.github.com/teams/1905178", - "html_url": "https://github.com/orgs/cloudbees/teams/cloudbees-blueocean-ux", - "members_url": "https://api.github.com/teams/1905178/members{/member}", - "repositories_url": "https://api.github.com/teams/1905178/repos", - "permission": "pull" - }, - { - "name": "team-professional-services", - "id": 1914484, - "node_id": "MDQ6VGVhbTE5MTQ0ODQ=", - "slug": "team-professional-services", - "description": "Professional Services", - "privacy": "closed", - "url": "https://api.github.com/teams/1914484", - "html_url": "https://github.com/orgs/cloudbees/teams/team-professional-services", - "members_url": "https://api.github.com/teams/1914484/members{/member}", - "repositories_url": "https://api.github.com/teams/1914484/repos", - "permission": "pull" - }, - { - "name": "team-cjp-onboarding", - "id": 1939111, - "node_id": "MDQ6VGVhbTE5MzkxMTE=", - "slug": "team-cjp-onboarding", - "description": "for GC/SF/License work", - "privacy": "closed", - "url": "https://api.github.com/teams/1939111", - "html_url": "https://github.com/orgs/cloudbees/teams/team-cjp-onboarding", - "members_url": "https://api.github.com/teams/1939111/members{/member}", - "repositories_url": "https://api.github.com/teams/1939111/repos", - "permission": "pull" - }, - { - "name": "team-alliances", - "id": 1991918, - "node_id": "MDQ6VGVhbTE5OTE5MTg=", - "slug": "team-alliances", - "description": "Alliances team", - "privacy": "closed", - "url": "https://api.github.com/teams/1991918", - "html_url": "https://github.com/orgs/cloudbees/teams/team-alliances", - "members_url": "https://api.github.com/teams/1991918/members{/member}", - "repositories_url": "https://api.github.com/teams/1991918/repos", - "permission": "pull" - }, - { - "name": "Legacy Training Contributors", - "id": 2070581, - "node_id": "MDQ6VGVhbTIwNzA1ODE=", - "slug": "legacy-training-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2070581", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-contributors", - "members_url": "https://api.github.com/teams/2070581/members{/member}", - "repositories_url": "https://api.github.com/teams/2070581/repos", - "permission": "pull" - }, - { - "name": "team-productivity", - "id": 2187916, - "node_id": "MDQ6VGVhbTIxODc5MTY=", - "slug": "team-productivity", - "description": "Members of Productivity Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2187916", - "html_url": "https://github.com/orgs/cloudbees/teams/team-productivity", - "members_url": "https://api.github.com/teams/2187916/members{/member}", - "repositories_url": "https://api.github.com/teams/2187916/repos", - "permission": "pull" - }, - { - "name": "knowledge", - "id": 2269997, - "node_id": "MDQ6VGVhbTIyNjk5OTc=", - "slug": "knowledge", - "description": "Knowledge n' stuff", - "privacy": "closed", - "url": "https://api.github.com/teams/2269997", - "html_url": "https://github.com/orgs/cloudbees/teams/knowledge", - "members_url": "https://api.github.com/teams/2269997/members{/member}", - "repositories_url": "https://api.github.com/teams/2269997/repos", - "permission": "pull" - }, - { - "name": "team-qa", - "id": 2283650, - "node_id": "MDQ6VGVhbTIyODM2NTA=", - "slug": "team-qa", - "description": "team-qa", - "privacy": "closed", - "url": "https://api.github.com/teams/2283650", - "html_url": "https://github.com/orgs/cloudbees/teams/team-qa", - "members_url": "https://api.github.com/teams/2283650/members{/member}", - "repositories_url": "https://api.github.com/teams/2283650/repos", - "permission": "pull" - }, - { - "name": "team-core-traditional", - "id": 2286168, - "node_id": "MDQ6VGVhbTIyODYxNjg=", - "slug": "team-core-traditional", - "description": "Team Core Traditional is the new Team Core Platform is the new Team Astro is the new Team CJP.", - "privacy": "closed", - "url": "https://api.github.com/teams/2286168", - "html_url": "https://github.com/orgs/cloudbees/teams/team-core-traditional", - "members_url": "https://api.github.com/teams/2286168/members{/member}", - "repositories_url": "https://api.github.com/teams/2286168/repos", - "permission": "pull" - }, - { - "name": "OSS Team", - "id": 2295003, - "node_id": "MDQ6VGVhbTIyOTUwMDM=", - "slug": "oss-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2295003", - "html_url": "https://github.com/orgs/cloudbees/teams/oss-team", - "members_url": "https://api.github.com/teams/2295003/members{/member}", - "repositories_url": "https://api.github.com/teams/2295003/repos", - "permission": "pull" - }, - { - "name": "team-analytics", - "id": 2316328, - "node_id": "MDQ6VGVhbTIzMTYzMjg=", - "slug": "team-analytics", - "description": "DevOptics team", - "privacy": "closed", - "url": "https://api.github.com/teams/2316328", - "html_url": "https://github.com/orgs/cloudbees/teams/team-analytics", - "members_url": "https://api.github.com/teams/2316328/members{/member}", - "repositories_url": "https://api.github.com/teams/2316328/repos", - "permission": "pull" - }, - { - "name": "team-infra-cloudbees-interns", - "id": 2377437, - "node_id": "MDQ6VGVhbTIzNzc0Mzc=", - "slug": "team-infra-cloudbees-interns", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2377437", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-interns", - "members_url": "https://api.github.com/teams/2377437/members{/member}", - "repositories_url": "https://api.github.com/teams/2377437/repos", - "permission": "pull" - }, - { - "name": "cje-reviewers", - "id": 2384898, - "node_id": "MDQ6VGVhbTIzODQ4OTg=", - "slug": "cje-reviewers", - "description": "CJE Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384898", - "html_url": "https://github.com/orgs/cloudbees/teams/cje-reviewers", - "members_url": "https://api.github.com/teams/2384898/members{/member}", - "repositories_url": "https://api.github.com/teams/2384898/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_eclipse-ee4j-50.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_eclipse-ee4j-50.json new file mode 100644 index 0000000000..18ea464da0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_eclipse-ee4j-50.json @@ -0,0 +1,55 @@ +{ + "login": "eclipse-ee4j", + "id": 31900942, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMxOTAwOTQy", + "url": "https://api.github.com/orgs/eclipse-ee4j", + "repos_url": "https://api.github.com/orgs/eclipse-ee4j/repos", + "events_url": "https://api.github.com/orgs/eclipse-ee4j/events", + "hooks_url": "https://api.github.com/orgs/eclipse-ee4j/hooks", + "issues_url": "https://api.github.com/orgs/eclipse-ee4j/issues", + "members_url": "https://api.github.com/orgs/eclipse-ee4j/members{/member}", + "public_members_url": "https://api.github.com/orgs/eclipse-ee4j/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/31900942?v=4", + "description": "The Eclipse EE4J Project", + "name": "Eclipse EE4J", + "company": null, + "blog": "https://projects.eclipse.org/projects/ee4j", + "location": null, + "email": "ee4j-community@eclipse.org", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 134, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/eclipse-ee4j", + "created_at": "2017-09-12T18:52:04Z", + "updated_at": "2022-02-28T16:59:46Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": null, + "disk_usage": null, + "collaborators": null, + "billing_email": null, + "default_repository_permission": null, + "members_can_create_repositories": false, + "two_factor_requirement_enabled": null, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 220, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_eclipse-ee4j_teams-51.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_eclipse-ee4j_teams-51.json new file mode 100644 index 0000000000..ba94ad4172 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_eclipse-ee4j_teams-51.json @@ -0,0 +1,16 @@ +[ + { + "name": "ee4j-bean-validation-committers", + "id": 3335319, + "node_id": "MDQ6VGVhbTMzMzUzMTk=", + "slug": "ee4j-bean-validation-committers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/31900942/team/3335319", + "html_url": "https://github.com/orgs/eclipse-ee4j/teams/ee4j-bean-validation-committers", + "members_url": "https://api.github.com/organizations/31900942/team/3335319/members{/member}", + "repositories_url": "https://api.github.com/organizations/31900942/team/3335319/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate-53.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate-53.json new file mode 100644 index 0000000000..d24bcb8941 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate-53.json @@ -0,0 +1,55 @@ +{ + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": 0, + "disk_usage": 1021848, + "collaborators": 0, + "billing_email": "hibernate-gravatar@mel.emmanuelbernard.com", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 48, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-54.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-54.json new file mode 100644 index 0000000000..9472e69923 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-54.json @@ -0,0 +1,324 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "parent": null + }, + { + "name": "bots", + "id": 393779, + "node_id": "MDQ6VGVhbTM5Mzc3OQ==", + "slug": "bots", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/393779", + "html_url": "https://github.com/orgs/hibernate/teams/bots", + "members_url": "https://api.github.com/organizations/348262/team/393779/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/393779/repos", + "permission": "push", + "parent": null + }, + { + "name": "caching-team", + "id": 3146341, + "node_id": "MDQ6VGVhbTMxNDYzNDE=", + "slug": "caching-team", + "description": "Caching and performance", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/3146341", + "html_url": "https://github.com/orgs/hibernate/teams/caching-team", + "members_url": "https://api.github.com/organizations/348262/team/3146341/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3146341/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "parent": null + }, + { + "name": "commons-annotations-dev", + "id": 61566, + "node_id": "MDQ6VGVhbTYxNTY2", + "slug": "commons-annotations-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/61566", + "html_url": "https://github.com/orgs/hibernate/teams/commons-annotations-dev", + "members_url": "https://api.github.com/organizations/348262/team/61566/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/61566/repos", + "permission": "push", + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "parent": null + }, + { + "name": "devops", + "id": 367620, + "node_id": "MDQ6VGVhbTM2NzYyMA==", + "slug": "devops", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/367620", + "html_url": "https://github.com/orgs/hibernate/teams/devops", + "members_url": "https://api.github.com/organizations/348262/team/367620/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/367620/repos", + "permission": "push", + "parent": null + }, + { + "name": "eap-product-maintenance-orm", + "id": 3846477, + "node_id": "MDQ6VGVhbTM4NDY0Nzc=", + "slug": "eap-product-maintenance-orm", + "description": "People with permission to push on EAP product maintenance branches for ORM", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3846477", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-orm", + "members_url": "https://api.github.com/organizations/348262/team/3846477/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3846477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eap-product-maintenance-search", + "id": 3847325, + "node_id": "MDQ6VGVhbTM4NDczMjU=", + "slug": "eap-product-maintenance-search", + "description": "People with permission to push on EAP product maintenance branches for Hibernate Search", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3847325", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-search", + "members_url": "https://api.github.com/organizations/348262/team/3847325/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3847325/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hql-parser-new", + "id": 734757, + "node_id": "MDQ6VGVhbTczNDc1Nw==", + "slug": "hql-parser-new", + "description": "Team developing the new HQL parser", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/734757", + "html_url": "https://github.com/orgs/hibernate/teams/hql-parser-new", + "members_url": "https://api.github.com/organizations/348262/team/734757/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/734757/repos", + "permission": "push", + "parent": null + }, + { + "name": "jpa-api-dev", + "id": 331637, + "node_id": "MDQ6VGVhbTMzMTYzNw==", + "slug": "jpa-api-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/331637", + "html_url": "https://github.com/orgs/hibernate/teams/jpa-api-dev", + "members_url": "https://api.github.com/organizations/348262/team/331637/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/331637/repos", + "permission": "push", + "parent": null + }, + { + "name": "matrix-plugin-dev", + "id": 467823, + "node_id": "MDQ6VGVhbTQ2NzgyMw==", + "slug": "matrix-plugin-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/467823", + "html_url": "https://github.com/orgs/hibernate/teams/matrix-plugin-dev", + "members_url": "https://api.github.com/organizations/348262/team/467823/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/467823/repos", + "permission": "push", + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "parent": null + }, + { + "name": "orm-dev", + "id": 5457063, + "node_id": "T_kwDOAAVQZs4AU0Sn", + "slug": "orm-dev", + "description": "ORM development team", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/5457063", + "html_url": "https://github.com/orgs/hibernate/teams/orm-dev", + "members_url": "https://api.github.com/organizations/348262/team/5457063/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/5457063/repos", + "permission": "pull", + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "parent": null + }, + { + "name": "Reactive", + "id": 3090332, + "node_id": "MDQ6VGVhbTMwOTAzMzI=", + "slug": "reactive", + "description": "Research team to R&D Reactive database access", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3090332", + "html_url": "https://github.com/orgs/hibernate/teams/reactive", + "members_url": "https://api.github.com/organizations/348262/team/3090332/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3090332/repos", + "permission": "pull", + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "parent": null + }, + { + "name": "shards-dev", + "id": 284106, + "node_id": "MDQ6VGVhbTI4NDEwNg==", + "slug": "shards-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/284106", + "html_url": "https://github.com/orgs/hibernate/teams/shards-dev", + "members_url": "https://api.github.com/organizations/348262/team/284106/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/284106/repos", + "permission": "push", + "parent": null + }, + { + "name": "tools-dev", + "id": 43010, + "node_id": "MDQ6VGVhbTQzMDEw", + "slug": "tools-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/43010", + "html_url": "https://github.com/orgs/hibernate/teams/tools-dev", + "members_url": "https://api.github.com/organizations/348262/team/43010/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/43010/repos", + "permission": "push", + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-56.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-56.json new file mode 100644 index 0000000000..9472e69923 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-56.json @@ -0,0 +1,324 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "parent": null + }, + { + "name": "bots", + "id": 393779, + "node_id": "MDQ6VGVhbTM5Mzc3OQ==", + "slug": "bots", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/393779", + "html_url": "https://github.com/orgs/hibernate/teams/bots", + "members_url": "https://api.github.com/organizations/348262/team/393779/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/393779/repos", + "permission": "push", + "parent": null + }, + { + "name": "caching-team", + "id": 3146341, + "node_id": "MDQ6VGVhbTMxNDYzNDE=", + "slug": "caching-team", + "description": "Caching and performance", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/3146341", + "html_url": "https://github.com/orgs/hibernate/teams/caching-team", + "members_url": "https://api.github.com/organizations/348262/team/3146341/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3146341/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "parent": null + }, + { + "name": "commons-annotations-dev", + "id": 61566, + "node_id": "MDQ6VGVhbTYxNTY2", + "slug": "commons-annotations-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/61566", + "html_url": "https://github.com/orgs/hibernate/teams/commons-annotations-dev", + "members_url": "https://api.github.com/organizations/348262/team/61566/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/61566/repos", + "permission": "push", + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "parent": null + }, + { + "name": "devops", + "id": 367620, + "node_id": "MDQ6VGVhbTM2NzYyMA==", + "slug": "devops", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/367620", + "html_url": "https://github.com/orgs/hibernate/teams/devops", + "members_url": "https://api.github.com/organizations/348262/team/367620/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/367620/repos", + "permission": "push", + "parent": null + }, + { + "name": "eap-product-maintenance-orm", + "id": 3846477, + "node_id": "MDQ6VGVhbTM4NDY0Nzc=", + "slug": "eap-product-maintenance-orm", + "description": "People with permission to push on EAP product maintenance branches for ORM", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3846477", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-orm", + "members_url": "https://api.github.com/organizations/348262/team/3846477/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3846477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eap-product-maintenance-search", + "id": 3847325, + "node_id": "MDQ6VGVhbTM4NDczMjU=", + "slug": "eap-product-maintenance-search", + "description": "People with permission to push on EAP product maintenance branches for Hibernate Search", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3847325", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-search", + "members_url": "https://api.github.com/organizations/348262/team/3847325/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3847325/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hql-parser-new", + "id": 734757, + "node_id": "MDQ6VGVhbTczNDc1Nw==", + "slug": "hql-parser-new", + "description": "Team developing the new HQL parser", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/734757", + "html_url": "https://github.com/orgs/hibernate/teams/hql-parser-new", + "members_url": "https://api.github.com/organizations/348262/team/734757/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/734757/repos", + "permission": "push", + "parent": null + }, + { + "name": "jpa-api-dev", + "id": 331637, + "node_id": "MDQ6VGVhbTMzMTYzNw==", + "slug": "jpa-api-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/331637", + "html_url": "https://github.com/orgs/hibernate/teams/jpa-api-dev", + "members_url": "https://api.github.com/organizations/348262/team/331637/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/331637/repos", + "permission": "push", + "parent": null + }, + { + "name": "matrix-plugin-dev", + "id": 467823, + "node_id": "MDQ6VGVhbTQ2NzgyMw==", + "slug": "matrix-plugin-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/467823", + "html_url": "https://github.com/orgs/hibernate/teams/matrix-plugin-dev", + "members_url": "https://api.github.com/organizations/348262/team/467823/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/467823/repos", + "permission": "push", + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "parent": null + }, + { + "name": "orm-dev", + "id": 5457063, + "node_id": "T_kwDOAAVQZs4AU0Sn", + "slug": "orm-dev", + "description": "ORM development team", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/5457063", + "html_url": "https://github.com/orgs/hibernate/teams/orm-dev", + "members_url": "https://api.github.com/organizations/348262/team/5457063/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/5457063/repos", + "permission": "pull", + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "parent": null + }, + { + "name": "Reactive", + "id": 3090332, + "node_id": "MDQ6VGVhbTMwOTAzMzI=", + "slug": "reactive", + "description": "Research team to R&D Reactive database access", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3090332", + "html_url": "https://github.com/orgs/hibernate/teams/reactive", + "members_url": "https://api.github.com/organizations/348262/team/3090332/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3090332/repos", + "permission": "pull", + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "parent": null + }, + { + "name": "shards-dev", + "id": 284106, + "node_id": "MDQ6VGVhbTI4NDEwNg==", + "slug": "shards-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/284106", + "html_url": "https://github.com/orgs/hibernate/teams/shards-dev", + "members_url": "https://api.github.com/organizations/348262/team/284106/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/284106/repos", + "permission": "push", + "parent": null + }, + { + "name": "tools-dev", + "id": 43010, + "node_id": "MDQ6VGVhbTQzMDEw", + "slug": "tools-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/43010", + "html_url": "https://github.com/orgs/hibernate/teams/tools-dev", + "members_url": "https://api.github.com/organizations/348262/team/43010/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/43010/repos", + "permission": "push", + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-58.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-58.json new file mode 100644 index 0000000000..9472e69923 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-58.json @@ -0,0 +1,324 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "parent": null + }, + { + "name": "bots", + "id": 393779, + "node_id": "MDQ6VGVhbTM5Mzc3OQ==", + "slug": "bots", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/393779", + "html_url": "https://github.com/orgs/hibernate/teams/bots", + "members_url": "https://api.github.com/organizations/348262/team/393779/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/393779/repos", + "permission": "push", + "parent": null + }, + { + "name": "caching-team", + "id": 3146341, + "node_id": "MDQ6VGVhbTMxNDYzNDE=", + "slug": "caching-team", + "description": "Caching and performance", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/3146341", + "html_url": "https://github.com/orgs/hibernate/teams/caching-team", + "members_url": "https://api.github.com/organizations/348262/team/3146341/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3146341/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "parent": null + }, + { + "name": "commons-annotations-dev", + "id": 61566, + "node_id": "MDQ6VGVhbTYxNTY2", + "slug": "commons-annotations-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/61566", + "html_url": "https://github.com/orgs/hibernate/teams/commons-annotations-dev", + "members_url": "https://api.github.com/organizations/348262/team/61566/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/61566/repos", + "permission": "push", + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "parent": null + }, + { + "name": "devops", + "id": 367620, + "node_id": "MDQ6VGVhbTM2NzYyMA==", + "slug": "devops", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/367620", + "html_url": "https://github.com/orgs/hibernate/teams/devops", + "members_url": "https://api.github.com/organizations/348262/team/367620/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/367620/repos", + "permission": "push", + "parent": null + }, + { + "name": "eap-product-maintenance-orm", + "id": 3846477, + "node_id": "MDQ6VGVhbTM4NDY0Nzc=", + "slug": "eap-product-maintenance-orm", + "description": "People with permission to push on EAP product maintenance branches for ORM", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3846477", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-orm", + "members_url": "https://api.github.com/organizations/348262/team/3846477/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3846477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eap-product-maintenance-search", + "id": 3847325, + "node_id": "MDQ6VGVhbTM4NDczMjU=", + "slug": "eap-product-maintenance-search", + "description": "People with permission to push on EAP product maintenance branches for Hibernate Search", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3847325", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-search", + "members_url": "https://api.github.com/organizations/348262/team/3847325/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3847325/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hql-parser-new", + "id": 734757, + "node_id": "MDQ6VGVhbTczNDc1Nw==", + "slug": "hql-parser-new", + "description": "Team developing the new HQL parser", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/734757", + "html_url": "https://github.com/orgs/hibernate/teams/hql-parser-new", + "members_url": "https://api.github.com/organizations/348262/team/734757/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/734757/repos", + "permission": "push", + "parent": null + }, + { + "name": "jpa-api-dev", + "id": 331637, + "node_id": "MDQ6VGVhbTMzMTYzNw==", + "slug": "jpa-api-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/331637", + "html_url": "https://github.com/orgs/hibernate/teams/jpa-api-dev", + "members_url": "https://api.github.com/organizations/348262/team/331637/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/331637/repos", + "permission": "push", + "parent": null + }, + { + "name": "matrix-plugin-dev", + "id": 467823, + "node_id": "MDQ6VGVhbTQ2NzgyMw==", + "slug": "matrix-plugin-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/467823", + "html_url": "https://github.com/orgs/hibernate/teams/matrix-plugin-dev", + "members_url": "https://api.github.com/organizations/348262/team/467823/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/467823/repos", + "permission": "push", + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "parent": null + }, + { + "name": "orm-dev", + "id": 5457063, + "node_id": "T_kwDOAAVQZs4AU0Sn", + "slug": "orm-dev", + "description": "ORM development team", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/5457063", + "html_url": "https://github.com/orgs/hibernate/teams/orm-dev", + "members_url": "https://api.github.com/organizations/348262/team/5457063/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/5457063/repos", + "permission": "pull", + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "parent": null + }, + { + "name": "Reactive", + "id": 3090332, + "node_id": "MDQ6VGVhbTMwOTAzMzI=", + "slug": "reactive", + "description": "Research team to R&D Reactive database access", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3090332", + "html_url": "https://github.com/orgs/hibernate/teams/reactive", + "members_url": "https://api.github.com/organizations/348262/team/3090332/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3090332/repos", + "permission": "pull", + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "parent": null + }, + { + "name": "shards-dev", + "id": 284106, + "node_id": "MDQ6VGVhbTI4NDEwNg==", + "slug": "shards-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/284106", + "html_url": "https://github.com/orgs/hibernate/teams/shards-dev", + "members_url": "https://api.github.com/organizations/348262/team/284106/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/284106/repos", + "permission": "push", + "parent": null + }, + { + "name": "tools-dev", + "id": 43010, + "node_id": "MDQ6VGVhbTQzMDEw", + "slug": "tools-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/43010", + "html_url": "https://github.com/orgs/hibernate/teams/tools-dev", + "members_url": "https://api.github.com/organizations/348262/team/43010/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/43010/repos", + "permission": "push", + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-60.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-60.json new file mode 100644 index 0000000000..9472e69923 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-60.json @@ -0,0 +1,324 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "parent": null + }, + { + "name": "bots", + "id": 393779, + "node_id": "MDQ6VGVhbTM5Mzc3OQ==", + "slug": "bots", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/393779", + "html_url": "https://github.com/orgs/hibernate/teams/bots", + "members_url": "https://api.github.com/organizations/348262/team/393779/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/393779/repos", + "permission": "push", + "parent": null + }, + { + "name": "caching-team", + "id": 3146341, + "node_id": "MDQ6VGVhbTMxNDYzNDE=", + "slug": "caching-team", + "description": "Caching and performance", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/3146341", + "html_url": "https://github.com/orgs/hibernate/teams/caching-team", + "members_url": "https://api.github.com/organizations/348262/team/3146341/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3146341/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "parent": null + }, + { + "name": "commons-annotations-dev", + "id": 61566, + "node_id": "MDQ6VGVhbTYxNTY2", + "slug": "commons-annotations-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/61566", + "html_url": "https://github.com/orgs/hibernate/teams/commons-annotations-dev", + "members_url": "https://api.github.com/organizations/348262/team/61566/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/61566/repos", + "permission": "push", + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "parent": null + }, + { + "name": "devops", + "id": 367620, + "node_id": "MDQ6VGVhbTM2NzYyMA==", + "slug": "devops", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/367620", + "html_url": "https://github.com/orgs/hibernate/teams/devops", + "members_url": "https://api.github.com/organizations/348262/team/367620/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/367620/repos", + "permission": "push", + "parent": null + }, + { + "name": "eap-product-maintenance-orm", + "id": 3846477, + "node_id": "MDQ6VGVhbTM4NDY0Nzc=", + "slug": "eap-product-maintenance-orm", + "description": "People with permission to push on EAP product maintenance branches for ORM", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3846477", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-orm", + "members_url": "https://api.github.com/organizations/348262/team/3846477/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3846477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eap-product-maintenance-search", + "id": 3847325, + "node_id": "MDQ6VGVhbTM4NDczMjU=", + "slug": "eap-product-maintenance-search", + "description": "People with permission to push on EAP product maintenance branches for Hibernate Search", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3847325", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-search", + "members_url": "https://api.github.com/organizations/348262/team/3847325/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3847325/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hql-parser-new", + "id": 734757, + "node_id": "MDQ6VGVhbTczNDc1Nw==", + "slug": "hql-parser-new", + "description": "Team developing the new HQL parser", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/734757", + "html_url": "https://github.com/orgs/hibernate/teams/hql-parser-new", + "members_url": "https://api.github.com/organizations/348262/team/734757/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/734757/repos", + "permission": "push", + "parent": null + }, + { + "name": "jpa-api-dev", + "id": 331637, + "node_id": "MDQ6VGVhbTMzMTYzNw==", + "slug": "jpa-api-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/331637", + "html_url": "https://github.com/orgs/hibernate/teams/jpa-api-dev", + "members_url": "https://api.github.com/organizations/348262/team/331637/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/331637/repos", + "permission": "push", + "parent": null + }, + { + "name": "matrix-plugin-dev", + "id": 467823, + "node_id": "MDQ6VGVhbTQ2NzgyMw==", + "slug": "matrix-plugin-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/467823", + "html_url": "https://github.com/orgs/hibernate/teams/matrix-plugin-dev", + "members_url": "https://api.github.com/organizations/348262/team/467823/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/467823/repos", + "permission": "push", + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "parent": null + }, + { + "name": "orm-dev", + "id": 5457063, + "node_id": "T_kwDOAAVQZs4AU0Sn", + "slug": "orm-dev", + "description": "ORM development team", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/5457063", + "html_url": "https://github.com/orgs/hibernate/teams/orm-dev", + "members_url": "https://api.github.com/organizations/348262/team/5457063/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/5457063/repos", + "permission": "pull", + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "parent": null + }, + { + "name": "Reactive", + "id": 3090332, + "node_id": "MDQ6VGVhbTMwOTAzMzI=", + "slug": "reactive", + "description": "Research team to R&D Reactive database access", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3090332", + "html_url": "https://github.com/orgs/hibernate/teams/reactive", + "members_url": "https://api.github.com/organizations/348262/team/3090332/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3090332/repos", + "permission": "pull", + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "parent": null + }, + { + "name": "shards-dev", + "id": 284106, + "node_id": "MDQ6VGVhbTI4NDEwNg==", + "slug": "shards-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/284106", + "html_url": "https://github.com/orgs/hibernate/teams/shards-dev", + "members_url": "https://api.github.com/organizations/348262/team/284106/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/284106/repos", + "permission": "push", + "parent": null + }, + { + "name": "tools-dev", + "id": 43010, + "node_id": "MDQ6VGVhbTQzMDEw", + "slug": "tools-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/43010", + "html_url": "https://github.com/orgs/hibernate/teams/tools-dev", + "members_url": "https://api.github.com/organizations/348262/team/43010/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/43010/repos", + "permission": "push", + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-62.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-62.json new file mode 100644 index 0000000000..9472e69923 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-62.json @@ -0,0 +1,324 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "parent": null + }, + { + "name": "bots", + "id": 393779, + "node_id": "MDQ6VGVhbTM5Mzc3OQ==", + "slug": "bots", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/393779", + "html_url": "https://github.com/orgs/hibernate/teams/bots", + "members_url": "https://api.github.com/organizations/348262/team/393779/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/393779/repos", + "permission": "push", + "parent": null + }, + { + "name": "caching-team", + "id": 3146341, + "node_id": "MDQ6VGVhbTMxNDYzNDE=", + "slug": "caching-team", + "description": "Caching and performance", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/3146341", + "html_url": "https://github.com/orgs/hibernate/teams/caching-team", + "members_url": "https://api.github.com/organizations/348262/team/3146341/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3146341/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "parent": null + }, + { + "name": "commons-annotations-dev", + "id": 61566, + "node_id": "MDQ6VGVhbTYxNTY2", + "slug": "commons-annotations-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/61566", + "html_url": "https://github.com/orgs/hibernate/teams/commons-annotations-dev", + "members_url": "https://api.github.com/organizations/348262/team/61566/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/61566/repos", + "permission": "push", + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "parent": null + }, + { + "name": "devops", + "id": 367620, + "node_id": "MDQ6VGVhbTM2NzYyMA==", + "slug": "devops", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/367620", + "html_url": "https://github.com/orgs/hibernate/teams/devops", + "members_url": "https://api.github.com/organizations/348262/team/367620/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/367620/repos", + "permission": "push", + "parent": null + }, + { + "name": "eap-product-maintenance-orm", + "id": 3846477, + "node_id": "MDQ6VGVhbTM4NDY0Nzc=", + "slug": "eap-product-maintenance-orm", + "description": "People with permission to push on EAP product maintenance branches for ORM", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3846477", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-orm", + "members_url": "https://api.github.com/organizations/348262/team/3846477/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3846477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eap-product-maintenance-search", + "id": 3847325, + "node_id": "MDQ6VGVhbTM4NDczMjU=", + "slug": "eap-product-maintenance-search", + "description": "People with permission to push on EAP product maintenance branches for Hibernate Search", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3847325", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-search", + "members_url": "https://api.github.com/organizations/348262/team/3847325/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3847325/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hql-parser-new", + "id": 734757, + "node_id": "MDQ6VGVhbTczNDc1Nw==", + "slug": "hql-parser-new", + "description": "Team developing the new HQL parser", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/734757", + "html_url": "https://github.com/orgs/hibernate/teams/hql-parser-new", + "members_url": "https://api.github.com/organizations/348262/team/734757/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/734757/repos", + "permission": "push", + "parent": null + }, + { + "name": "jpa-api-dev", + "id": 331637, + "node_id": "MDQ6VGVhbTMzMTYzNw==", + "slug": "jpa-api-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/331637", + "html_url": "https://github.com/orgs/hibernate/teams/jpa-api-dev", + "members_url": "https://api.github.com/organizations/348262/team/331637/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/331637/repos", + "permission": "push", + "parent": null + }, + { + "name": "matrix-plugin-dev", + "id": 467823, + "node_id": "MDQ6VGVhbTQ2NzgyMw==", + "slug": "matrix-plugin-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/467823", + "html_url": "https://github.com/orgs/hibernate/teams/matrix-plugin-dev", + "members_url": "https://api.github.com/organizations/348262/team/467823/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/467823/repos", + "permission": "push", + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "parent": null + }, + { + "name": "orm-dev", + "id": 5457063, + "node_id": "T_kwDOAAVQZs4AU0Sn", + "slug": "orm-dev", + "description": "ORM development team", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/5457063", + "html_url": "https://github.com/orgs/hibernate/teams/orm-dev", + "members_url": "https://api.github.com/organizations/348262/team/5457063/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/5457063/repos", + "permission": "pull", + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "parent": null + }, + { + "name": "Reactive", + "id": 3090332, + "node_id": "MDQ6VGVhbTMwOTAzMzI=", + "slug": "reactive", + "description": "Research team to R&D Reactive database access", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3090332", + "html_url": "https://github.com/orgs/hibernate/teams/reactive", + "members_url": "https://api.github.com/organizations/348262/team/3090332/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3090332/repos", + "permission": "pull", + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "parent": null + }, + { + "name": "shards-dev", + "id": 284106, + "node_id": "MDQ6VGVhbTI4NDEwNg==", + "slug": "shards-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/284106", + "html_url": "https://github.com/orgs/hibernate/teams/shards-dev", + "members_url": "https://api.github.com/organizations/348262/team/284106/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/284106/repos", + "permission": "push", + "parent": null + }, + { + "name": "tools-dev", + "id": 43010, + "node_id": "MDQ6VGVhbTQzMDEw", + "slug": "tools-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/43010", + "html_url": "https://github.com/orgs/hibernate/teams/tools-dev", + "members_url": "https://api.github.com/organizations/348262/team/43010/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/43010/repos", + "permission": "push", + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-64.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-64.json new file mode 100644 index 0000000000..9472e69923 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-64.json @@ -0,0 +1,324 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "parent": null + }, + { + "name": "bots", + "id": 393779, + "node_id": "MDQ6VGVhbTM5Mzc3OQ==", + "slug": "bots", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/393779", + "html_url": "https://github.com/orgs/hibernate/teams/bots", + "members_url": "https://api.github.com/organizations/348262/team/393779/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/393779/repos", + "permission": "push", + "parent": null + }, + { + "name": "caching-team", + "id": 3146341, + "node_id": "MDQ6VGVhbTMxNDYzNDE=", + "slug": "caching-team", + "description": "Caching and performance", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/3146341", + "html_url": "https://github.com/orgs/hibernate/teams/caching-team", + "members_url": "https://api.github.com/organizations/348262/team/3146341/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3146341/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "parent": null + }, + { + "name": "commons-annotations-dev", + "id": 61566, + "node_id": "MDQ6VGVhbTYxNTY2", + "slug": "commons-annotations-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/61566", + "html_url": "https://github.com/orgs/hibernate/teams/commons-annotations-dev", + "members_url": "https://api.github.com/organizations/348262/team/61566/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/61566/repos", + "permission": "push", + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "parent": null + }, + { + "name": "devops", + "id": 367620, + "node_id": "MDQ6VGVhbTM2NzYyMA==", + "slug": "devops", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/367620", + "html_url": "https://github.com/orgs/hibernate/teams/devops", + "members_url": "https://api.github.com/organizations/348262/team/367620/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/367620/repos", + "permission": "push", + "parent": null + }, + { + "name": "eap-product-maintenance-orm", + "id": 3846477, + "node_id": "MDQ6VGVhbTM4NDY0Nzc=", + "slug": "eap-product-maintenance-orm", + "description": "People with permission to push on EAP product maintenance branches for ORM", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3846477", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-orm", + "members_url": "https://api.github.com/organizations/348262/team/3846477/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3846477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eap-product-maintenance-search", + "id": 3847325, + "node_id": "MDQ6VGVhbTM4NDczMjU=", + "slug": "eap-product-maintenance-search", + "description": "People with permission to push on EAP product maintenance branches for Hibernate Search", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3847325", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-search", + "members_url": "https://api.github.com/organizations/348262/team/3847325/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3847325/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hql-parser-new", + "id": 734757, + "node_id": "MDQ6VGVhbTczNDc1Nw==", + "slug": "hql-parser-new", + "description": "Team developing the new HQL parser", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/734757", + "html_url": "https://github.com/orgs/hibernate/teams/hql-parser-new", + "members_url": "https://api.github.com/organizations/348262/team/734757/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/734757/repos", + "permission": "push", + "parent": null + }, + { + "name": "jpa-api-dev", + "id": 331637, + "node_id": "MDQ6VGVhbTMzMTYzNw==", + "slug": "jpa-api-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/331637", + "html_url": "https://github.com/orgs/hibernate/teams/jpa-api-dev", + "members_url": "https://api.github.com/organizations/348262/team/331637/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/331637/repos", + "permission": "push", + "parent": null + }, + { + "name": "matrix-plugin-dev", + "id": 467823, + "node_id": "MDQ6VGVhbTQ2NzgyMw==", + "slug": "matrix-plugin-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/467823", + "html_url": "https://github.com/orgs/hibernate/teams/matrix-plugin-dev", + "members_url": "https://api.github.com/organizations/348262/team/467823/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/467823/repos", + "permission": "push", + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "parent": null + }, + { + "name": "orm-dev", + "id": 5457063, + "node_id": "T_kwDOAAVQZs4AU0Sn", + "slug": "orm-dev", + "description": "ORM development team", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/5457063", + "html_url": "https://github.com/orgs/hibernate/teams/orm-dev", + "members_url": "https://api.github.com/organizations/348262/team/5457063/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/5457063/repos", + "permission": "pull", + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "parent": null + }, + { + "name": "Reactive", + "id": 3090332, + "node_id": "MDQ6VGVhbTMwOTAzMzI=", + "slug": "reactive", + "description": "Research team to R&D Reactive database access", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3090332", + "html_url": "https://github.com/orgs/hibernate/teams/reactive", + "members_url": "https://api.github.com/organizations/348262/team/3090332/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3090332/repos", + "permission": "pull", + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "parent": null + }, + { + "name": "shards-dev", + "id": 284106, + "node_id": "MDQ6VGVhbTI4NDEwNg==", + "slug": "shards-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/284106", + "html_url": "https://github.com/orgs/hibernate/teams/shards-dev", + "members_url": "https://api.github.com/organizations/348262/team/284106/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/284106/repos", + "permission": "push", + "parent": null + }, + { + "name": "tools-dev", + "id": 43010, + "node_id": "MDQ6VGVhbTQzMDEw", + "slug": "tools-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/43010", + "html_url": "https://github.com/orgs/hibernate/teams/tools-dev", + "members_url": "https://api.github.com/organizations/348262/team/43010/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/43010/repos", + "permission": "push", + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-66.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-66.json new file mode 100644 index 0000000000..9472e69923 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-66.json @@ -0,0 +1,324 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "parent": null + }, + { + "name": "bots", + "id": 393779, + "node_id": "MDQ6VGVhbTM5Mzc3OQ==", + "slug": "bots", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/393779", + "html_url": "https://github.com/orgs/hibernate/teams/bots", + "members_url": "https://api.github.com/organizations/348262/team/393779/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/393779/repos", + "permission": "push", + "parent": null + }, + { + "name": "caching-team", + "id": 3146341, + "node_id": "MDQ6VGVhbTMxNDYzNDE=", + "slug": "caching-team", + "description": "Caching and performance", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/3146341", + "html_url": "https://github.com/orgs/hibernate/teams/caching-team", + "members_url": "https://api.github.com/organizations/348262/team/3146341/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3146341/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "parent": null + }, + { + "name": "commons-annotations-dev", + "id": 61566, + "node_id": "MDQ6VGVhbTYxNTY2", + "slug": "commons-annotations-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/61566", + "html_url": "https://github.com/orgs/hibernate/teams/commons-annotations-dev", + "members_url": "https://api.github.com/organizations/348262/team/61566/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/61566/repos", + "permission": "push", + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "parent": null + }, + { + "name": "devops", + "id": 367620, + "node_id": "MDQ6VGVhbTM2NzYyMA==", + "slug": "devops", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/367620", + "html_url": "https://github.com/orgs/hibernate/teams/devops", + "members_url": "https://api.github.com/organizations/348262/team/367620/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/367620/repos", + "permission": "push", + "parent": null + }, + { + "name": "eap-product-maintenance-orm", + "id": 3846477, + "node_id": "MDQ6VGVhbTM4NDY0Nzc=", + "slug": "eap-product-maintenance-orm", + "description": "People with permission to push on EAP product maintenance branches for ORM", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3846477", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-orm", + "members_url": "https://api.github.com/organizations/348262/team/3846477/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3846477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eap-product-maintenance-search", + "id": 3847325, + "node_id": "MDQ6VGVhbTM4NDczMjU=", + "slug": "eap-product-maintenance-search", + "description": "People with permission to push on EAP product maintenance branches for Hibernate Search", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3847325", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-search", + "members_url": "https://api.github.com/organizations/348262/team/3847325/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3847325/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hql-parser-new", + "id": 734757, + "node_id": "MDQ6VGVhbTczNDc1Nw==", + "slug": "hql-parser-new", + "description": "Team developing the new HQL parser", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/734757", + "html_url": "https://github.com/orgs/hibernate/teams/hql-parser-new", + "members_url": "https://api.github.com/organizations/348262/team/734757/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/734757/repos", + "permission": "push", + "parent": null + }, + { + "name": "jpa-api-dev", + "id": 331637, + "node_id": "MDQ6VGVhbTMzMTYzNw==", + "slug": "jpa-api-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/331637", + "html_url": "https://github.com/orgs/hibernate/teams/jpa-api-dev", + "members_url": "https://api.github.com/organizations/348262/team/331637/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/331637/repos", + "permission": "push", + "parent": null + }, + { + "name": "matrix-plugin-dev", + "id": 467823, + "node_id": "MDQ6VGVhbTQ2NzgyMw==", + "slug": "matrix-plugin-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/467823", + "html_url": "https://github.com/orgs/hibernate/teams/matrix-plugin-dev", + "members_url": "https://api.github.com/organizations/348262/team/467823/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/467823/repos", + "permission": "push", + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "parent": null + }, + { + "name": "orm-dev", + "id": 5457063, + "node_id": "T_kwDOAAVQZs4AU0Sn", + "slug": "orm-dev", + "description": "ORM development team", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/5457063", + "html_url": "https://github.com/orgs/hibernate/teams/orm-dev", + "members_url": "https://api.github.com/organizations/348262/team/5457063/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/5457063/repos", + "permission": "pull", + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "parent": null + }, + { + "name": "Reactive", + "id": 3090332, + "node_id": "MDQ6VGVhbTMwOTAzMzI=", + "slug": "reactive", + "description": "Research team to R&D Reactive database access", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3090332", + "html_url": "https://github.com/orgs/hibernate/teams/reactive", + "members_url": "https://api.github.com/organizations/348262/team/3090332/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3090332/repos", + "permission": "pull", + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "parent": null + }, + { + "name": "shards-dev", + "id": 284106, + "node_id": "MDQ6VGVhbTI4NDEwNg==", + "slug": "shards-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/284106", + "html_url": "https://github.com/orgs/hibernate/teams/shards-dev", + "members_url": "https://api.github.com/organizations/348262/team/284106/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/284106/repos", + "permission": "push", + "parent": null + }, + { + "name": "tools-dev", + "id": 43010, + "node_id": "MDQ6VGVhbTQzMDEw", + "slug": "tools-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/43010", + "html_url": "https://github.com/orgs/hibernate/teams/tools-dev", + "members_url": "https://api.github.com/organizations/348262/team/43010/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/43010/repos", + "permission": "push", + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-68.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-68.json new file mode 100644 index 0000000000..9472e69923 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-68.json @@ -0,0 +1,324 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "parent": null + }, + { + "name": "bots", + "id": 393779, + "node_id": "MDQ6VGVhbTM5Mzc3OQ==", + "slug": "bots", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/393779", + "html_url": "https://github.com/orgs/hibernate/teams/bots", + "members_url": "https://api.github.com/organizations/348262/team/393779/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/393779/repos", + "permission": "push", + "parent": null + }, + { + "name": "caching-team", + "id": 3146341, + "node_id": "MDQ6VGVhbTMxNDYzNDE=", + "slug": "caching-team", + "description": "Caching and performance", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/3146341", + "html_url": "https://github.com/orgs/hibernate/teams/caching-team", + "members_url": "https://api.github.com/organizations/348262/team/3146341/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3146341/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "parent": null + }, + { + "name": "commons-annotations-dev", + "id": 61566, + "node_id": "MDQ6VGVhbTYxNTY2", + "slug": "commons-annotations-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/61566", + "html_url": "https://github.com/orgs/hibernate/teams/commons-annotations-dev", + "members_url": "https://api.github.com/organizations/348262/team/61566/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/61566/repos", + "permission": "push", + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "parent": null + }, + { + "name": "devops", + "id": 367620, + "node_id": "MDQ6VGVhbTM2NzYyMA==", + "slug": "devops", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/367620", + "html_url": "https://github.com/orgs/hibernate/teams/devops", + "members_url": "https://api.github.com/organizations/348262/team/367620/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/367620/repos", + "permission": "push", + "parent": null + }, + { + "name": "eap-product-maintenance-orm", + "id": 3846477, + "node_id": "MDQ6VGVhbTM4NDY0Nzc=", + "slug": "eap-product-maintenance-orm", + "description": "People with permission to push on EAP product maintenance branches for ORM", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3846477", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-orm", + "members_url": "https://api.github.com/organizations/348262/team/3846477/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3846477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eap-product-maintenance-search", + "id": 3847325, + "node_id": "MDQ6VGVhbTM4NDczMjU=", + "slug": "eap-product-maintenance-search", + "description": "People with permission to push on EAP product maintenance branches for Hibernate Search", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3847325", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-search", + "members_url": "https://api.github.com/organizations/348262/team/3847325/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3847325/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hql-parser-new", + "id": 734757, + "node_id": "MDQ6VGVhbTczNDc1Nw==", + "slug": "hql-parser-new", + "description": "Team developing the new HQL parser", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/734757", + "html_url": "https://github.com/orgs/hibernate/teams/hql-parser-new", + "members_url": "https://api.github.com/organizations/348262/team/734757/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/734757/repos", + "permission": "push", + "parent": null + }, + { + "name": "jpa-api-dev", + "id": 331637, + "node_id": "MDQ6VGVhbTMzMTYzNw==", + "slug": "jpa-api-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/331637", + "html_url": "https://github.com/orgs/hibernate/teams/jpa-api-dev", + "members_url": "https://api.github.com/organizations/348262/team/331637/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/331637/repos", + "permission": "push", + "parent": null + }, + { + "name": "matrix-plugin-dev", + "id": 467823, + "node_id": "MDQ6VGVhbTQ2NzgyMw==", + "slug": "matrix-plugin-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/467823", + "html_url": "https://github.com/orgs/hibernate/teams/matrix-plugin-dev", + "members_url": "https://api.github.com/organizations/348262/team/467823/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/467823/repos", + "permission": "push", + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "parent": null + }, + { + "name": "orm-dev", + "id": 5457063, + "node_id": "T_kwDOAAVQZs4AU0Sn", + "slug": "orm-dev", + "description": "ORM development team", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/5457063", + "html_url": "https://github.com/orgs/hibernate/teams/orm-dev", + "members_url": "https://api.github.com/organizations/348262/team/5457063/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/5457063/repos", + "permission": "pull", + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "parent": null + }, + { + "name": "Reactive", + "id": 3090332, + "node_id": "MDQ6VGVhbTMwOTAzMzI=", + "slug": "reactive", + "description": "Research team to R&D Reactive database access", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3090332", + "html_url": "https://github.com/orgs/hibernate/teams/reactive", + "members_url": "https://api.github.com/organizations/348262/team/3090332/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3090332/repos", + "permission": "pull", + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "parent": null + }, + { + "name": "shards-dev", + "id": 284106, + "node_id": "MDQ6VGVhbTI4NDEwNg==", + "slug": "shards-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/284106", + "html_url": "https://github.com/orgs/hibernate/teams/shards-dev", + "members_url": "https://api.github.com/organizations/348262/team/284106/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/284106/repos", + "permission": "push", + "parent": null + }, + { + "name": "tools-dev", + "id": 43010, + "node_id": "MDQ6VGVhbTQzMDEw", + "slug": "tools-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/43010", + "html_url": "https://github.com/orgs/hibernate/teams/tools-dev", + "members_url": "https://api.github.com/organizations/348262/team/43010/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/43010/repos", + "permission": "push", + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-70.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-70.json new file mode 100644 index 0000000000..9472e69923 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-70.json @@ -0,0 +1,324 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "parent": null + }, + { + "name": "bots", + "id": 393779, + "node_id": "MDQ6VGVhbTM5Mzc3OQ==", + "slug": "bots", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/393779", + "html_url": "https://github.com/orgs/hibernate/teams/bots", + "members_url": "https://api.github.com/organizations/348262/team/393779/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/393779/repos", + "permission": "push", + "parent": null + }, + { + "name": "caching-team", + "id": 3146341, + "node_id": "MDQ6VGVhbTMxNDYzNDE=", + "slug": "caching-team", + "description": "Caching and performance", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/3146341", + "html_url": "https://github.com/orgs/hibernate/teams/caching-team", + "members_url": "https://api.github.com/organizations/348262/team/3146341/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3146341/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "parent": null + }, + { + "name": "commons-annotations-dev", + "id": 61566, + "node_id": "MDQ6VGVhbTYxNTY2", + "slug": "commons-annotations-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/61566", + "html_url": "https://github.com/orgs/hibernate/teams/commons-annotations-dev", + "members_url": "https://api.github.com/organizations/348262/team/61566/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/61566/repos", + "permission": "push", + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "parent": null + }, + { + "name": "devops", + "id": 367620, + "node_id": "MDQ6VGVhbTM2NzYyMA==", + "slug": "devops", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/367620", + "html_url": "https://github.com/orgs/hibernate/teams/devops", + "members_url": "https://api.github.com/organizations/348262/team/367620/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/367620/repos", + "permission": "push", + "parent": null + }, + { + "name": "eap-product-maintenance-orm", + "id": 3846477, + "node_id": "MDQ6VGVhbTM4NDY0Nzc=", + "slug": "eap-product-maintenance-orm", + "description": "People with permission to push on EAP product maintenance branches for ORM", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3846477", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-orm", + "members_url": "https://api.github.com/organizations/348262/team/3846477/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3846477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eap-product-maintenance-search", + "id": 3847325, + "node_id": "MDQ6VGVhbTM4NDczMjU=", + "slug": "eap-product-maintenance-search", + "description": "People with permission to push on EAP product maintenance branches for Hibernate Search", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3847325", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-search", + "members_url": "https://api.github.com/organizations/348262/team/3847325/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3847325/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hql-parser-new", + "id": 734757, + "node_id": "MDQ6VGVhbTczNDc1Nw==", + "slug": "hql-parser-new", + "description": "Team developing the new HQL parser", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/734757", + "html_url": "https://github.com/orgs/hibernate/teams/hql-parser-new", + "members_url": "https://api.github.com/organizations/348262/team/734757/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/734757/repos", + "permission": "push", + "parent": null + }, + { + "name": "jpa-api-dev", + "id": 331637, + "node_id": "MDQ6VGVhbTMzMTYzNw==", + "slug": "jpa-api-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/331637", + "html_url": "https://github.com/orgs/hibernate/teams/jpa-api-dev", + "members_url": "https://api.github.com/organizations/348262/team/331637/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/331637/repos", + "permission": "push", + "parent": null + }, + { + "name": "matrix-plugin-dev", + "id": 467823, + "node_id": "MDQ6VGVhbTQ2NzgyMw==", + "slug": "matrix-plugin-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/467823", + "html_url": "https://github.com/orgs/hibernate/teams/matrix-plugin-dev", + "members_url": "https://api.github.com/organizations/348262/team/467823/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/467823/repos", + "permission": "push", + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "parent": null + }, + { + "name": "orm-dev", + "id": 5457063, + "node_id": "T_kwDOAAVQZs4AU0Sn", + "slug": "orm-dev", + "description": "ORM development team", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/5457063", + "html_url": "https://github.com/orgs/hibernate/teams/orm-dev", + "members_url": "https://api.github.com/organizations/348262/team/5457063/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/5457063/repos", + "permission": "pull", + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "parent": null + }, + { + "name": "Reactive", + "id": 3090332, + "node_id": "MDQ6VGVhbTMwOTAzMzI=", + "slug": "reactive", + "description": "Research team to R&D Reactive database access", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3090332", + "html_url": "https://github.com/orgs/hibernate/teams/reactive", + "members_url": "https://api.github.com/organizations/348262/team/3090332/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3090332/repos", + "permission": "pull", + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "parent": null + }, + { + "name": "shards-dev", + "id": 284106, + "node_id": "MDQ6VGVhbTI4NDEwNg==", + "slug": "shards-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/284106", + "html_url": "https://github.com/orgs/hibernate/teams/shards-dev", + "members_url": "https://api.github.com/organizations/348262/team/284106/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/284106/repos", + "permission": "push", + "parent": null + }, + { + "name": "tools-dev", + "id": 43010, + "node_id": "MDQ6VGVhbTQzMDEw", + "slug": "tools-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/43010", + "html_url": "https://github.com/orgs/hibernate/teams/tools-dev", + "members_url": "https://api.github.com/organizations/348262/team/43010/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/43010/repos", + "permission": "push", + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-72.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-72.json new file mode 100644 index 0000000000..9472e69923 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hibernate_teams-72.json @@ -0,0 +1,324 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "parent": null + }, + { + "name": "bots", + "id": 393779, + "node_id": "MDQ6VGVhbTM5Mzc3OQ==", + "slug": "bots", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/393779", + "html_url": "https://github.com/orgs/hibernate/teams/bots", + "members_url": "https://api.github.com/organizations/348262/team/393779/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/393779/repos", + "permission": "push", + "parent": null + }, + { + "name": "caching-team", + "id": 3146341, + "node_id": "MDQ6VGVhbTMxNDYzNDE=", + "slug": "caching-team", + "description": "Caching and performance", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/3146341", + "html_url": "https://github.com/orgs/hibernate/teams/caching-team", + "members_url": "https://api.github.com/organizations/348262/team/3146341/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3146341/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "parent": null + }, + { + "name": "commons-annotations-dev", + "id": 61566, + "node_id": "MDQ6VGVhbTYxNTY2", + "slug": "commons-annotations-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/61566", + "html_url": "https://github.com/orgs/hibernate/teams/commons-annotations-dev", + "members_url": "https://api.github.com/organizations/348262/team/61566/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/61566/repos", + "permission": "push", + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "parent": null + }, + { + "name": "devops", + "id": 367620, + "node_id": "MDQ6VGVhbTM2NzYyMA==", + "slug": "devops", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/367620", + "html_url": "https://github.com/orgs/hibernate/teams/devops", + "members_url": "https://api.github.com/organizations/348262/team/367620/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/367620/repos", + "permission": "push", + "parent": null + }, + { + "name": "eap-product-maintenance-orm", + "id": 3846477, + "node_id": "MDQ6VGVhbTM4NDY0Nzc=", + "slug": "eap-product-maintenance-orm", + "description": "People with permission to push on EAP product maintenance branches for ORM", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3846477", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-orm", + "members_url": "https://api.github.com/organizations/348262/team/3846477/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3846477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "eap-product-maintenance-search", + "id": 3847325, + "node_id": "MDQ6VGVhbTM4NDczMjU=", + "slug": "eap-product-maintenance-search", + "description": "People with permission to push on EAP product maintenance branches for Hibernate Search", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3847325", + "html_url": "https://github.com/orgs/hibernate/teams/eap-product-maintenance-search", + "members_url": "https://api.github.com/organizations/348262/team/3847325/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3847325/repos", + "permission": "pull", + "parent": null + }, + { + "name": "hql-parser-new", + "id": 734757, + "node_id": "MDQ6VGVhbTczNDc1Nw==", + "slug": "hql-parser-new", + "description": "Team developing the new HQL parser", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/734757", + "html_url": "https://github.com/orgs/hibernate/teams/hql-parser-new", + "members_url": "https://api.github.com/organizations/348262/team/734757/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/734757/repos", + "permission": "push", + "parent": null + }, + { + "name": "jpa-api-dev", + "id": 331637, + "node_id": "MDQ6VGVhbTMzMTYzNw==", + "slug": "jpa-api-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/331637", + "html_url": "https://github.com/orgs/hibernate/teams/jpa-api-dev", + "members_url": "https://api.github.com/organizations/348262/team/331637/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/331637/repos", + "permission": "push", + "parent": null + }, + { + "name": "matrix-plugin-dev", + "id": 467823, + "node_id": "MDQ6VGVhbTQ2NzgyMw==", + "slug": "matrix-plugin-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/467823", + "html_url": "https://github.com/orgs/hibernate/teams/matrix-plugin-dev", + "members_url": "https://api.github.com/organizations/348262/team/467823/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/467823/repos", + "permission": "push", + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "parent": null + }, + { + "name": "orm-dev", + "id": 5457063, + "node_id": "T_kwDOAAVQZs4AU0Sn", + "slug": "orm-dev", + "description": "ORM development team", + "privacy": "closed", + "url": "https://api.github.com/organizations/348262/team/5457063", + "html_url": "https://github.com/orgs/hibernate/teams/orm-dev", + "members_url": "https://api.github.com/organizations/348262/team/5457063/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/5457063/repos", + "permission": "pull", + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "parent": null + }, + { + "name": "Reactive", + "id": 3090332, + "node_id": "MDQ6VGVhbTMwOTAzMzI=", + "slug": "reactive", + "description": "Research team to R&D Reactive database access", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3090332", + "html_url": "https://github.com/orgs/hibernate/teams/reactive", + "members_url": "https://api.github.com/organizations/348262/team/3090332/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3090332/repos", + "permission": "pull", + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "parent": null + }, + { + "name": "shards-dev", + "id": 284106, + "node_id": "MDQ6VGVhbTI4NDEwNg==", + "slug": "shards-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/284106", + "html_url": "https://github.com/orgs/hibernate/teams/shards-dev", + "members_url": "https://api.github.com/organizations/348262/team/284106/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/284106/repos", + "permission": "push", + "parent": null + }, + { + "name": "tools-dev", + "id": 43010, + "node_id": "MDQ6VGVhbTQzMDEw", + "slug": "tools-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/43010", + "html_url": "https://github.com/orgs/hibernate/teams/tools-dev", + "members_url": "https://api.github.com/organizations/348262/team/43010/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/43010/repos", + "permission": "push", + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hub4j-test-org-51.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hub4j-test-org-51.json deleted file mode 100644 index 96be2e2954..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hub4j-test-org-51.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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/hub4j-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": 4, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hub4j-test-org_teams-52.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hub4j-test-org_teams-52.json deleted file mode 100644 index 62eb233c1a..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hub4j-test-org_teams-52.json +++ /dev/null @@ -1,41 +0,0 @@ -[ - { - "name": "Owners", - "id": 820404, - "node_id": "MDQ6VGVhbTgyMDQwNA==", - "slug": "owners", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/820404", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/owners", - "members_url": "https://api.github.com/teams/820404/members{/member}", - "repositories_url": "https://api.github.com/teams/820404/repos", - "permission": "admin" - }, - { - "name": "Core Developers", - "id": 820406, - "node_id": "MDQ6VGVhbTgyMDQwNg==", - "slug": "core-developers", - "description": "A random team", - "privacy": "secret", - "url": "https://api.github.com/teams/820406", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/core-developers", - "members_url": "https://api.github.com/teams/820406/members{/member}", - "repositories_url": "https://api.github.com/teams/820406/repos", - "permission": "pull" - }, - { - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "closed", - "url": "https://api.github.com/teams/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/teams/3451996/members{/member}", - "repositories_url": "https://api.github.com/teams/3451996/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hub4j-test-org_teams-54.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hub4j-test-org_teams-54.json deleted file mode 100644 index 62eb233c1a..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_hub4j-test-org_teams-54.json +++ /dev/null @@ -1,41 +0,0 @@ -[ - { - "name": "Owners", - "id": 820404, - "node_id": "MDQ6VGVhbTgyMDQwNA==", - "slug": "owners", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/820404", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/owners", - "members_url": "https://api.github.com/teams/820404/members{/member}", - "repositories_url": "https://api.github.com/teams/820404/repos", - "permission": "admin" - }, - { - "name": "Core Developers", - "id": 820406, - "node_id": "MDQ6VGVhbTgyMDQwNg==", - "slug": "core-developers", - "description": "A random team", - "privacy": "secret", - "url": "https://api.github.com/teams/820406", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/core-developers", - "members_url": "https://api.github.com/teams/820406/members{/member}", - "repositories_url": "https://api.github.com/teams/820406/repos", - "permission": "pull" - }, - { - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "closed", - "url": "https://api.github.com/teams/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/teams/3451996/members{/member}", - "repositories_url": "https://api.github.com/teams/3451996/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jbossas-43.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jbossas-43.json new file mode 100644 index 0000000000..393455479d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jbossas-43.json @@ -0,0 +1,55 @@ +{ + "login": "jbossas", + "id": 326816, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMyNjgxNg==", + "url": "https://api.github.com/orgs/jbossas", + "repos_url": "https://api.github.com/orgs/jbossas/repos", + "events_url": "https://api.github.com/orgs/jbossas/events", + "hooks_url": "https://api.github.com/orgs/jbossas/hooks", + "issues_url": "https://api.github.com/orgs/jbossas/issues", + "members_url": "https://api.github.com/orgs/jbossas/members{/member}", + "public_members_url": "https://api.github.com/orgs/jbossas/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/326816?v=4", + "description": null, + "name": null, + "company": null, + "blog": null, + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 23, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/jbossas", + "created_at": "2010-07-08T20:43:34Z", + "updated_at": "2018-12-13T16:50:37Z", + "type": "Organization", + "total_private_repos": 45, + "owned_private_repos": 45, + "private_gists": null, + "disk_usage": null, + "collaborators": null, + "billing_email": null, + "default_repository_permission": null, + "members_can_create_repositories": false, + "two_factor_requirement_enabled": null, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": true, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "gold", + "space": 976562499, + "private_repos": 50, + "filled_seats": 553, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jbossas_teams-44.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jbossas_teams-44.json new file mode 100644 index 0000000000..4f09d4d1f3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jbossas_teams-44.json @@ -0,0 +1,58 @@ +[ + { + "name": "Elytron Push", + "id": 2610981, + "node_id": "MDQ6VGVhbTI2MTA5ODE=", + "slug": "elytron-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/326816/team/2610981", + "html_url": "https://github.com/orgs/jbossas/teams/elytron-push", + "members_url": "https://api.github.com/organizations/326816/team/2610981/members{/member}", + "repositories_url": "https://api.github.com/organizations/326816/team/2610981/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Protean Push", + "id": 3040999, + "node_id": "MDQ6VGVhbTMwNDA5OTk=", + "slug": "protean-push", + "description": "Members of the protean team that can push into repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/326816/team/3040999", + "html_url": "https://github.com/orgs/jbossas/teams/protean-push", + "members_url": "https://api.github.com/organizations/326816/team/3040999/members{/member}", + "repositories_url": "https://api.github.com/organizations/326816/team/3040999/repos", + "permission": "pull", + "parent": null + }, + { + "name": "EAP QS Push", + "id": 3693886, + "node_id": "MDQ6VGVhbTM2OTM4ODY=", + "slug": "eap-qs-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/326816/team/3693886", + "html_url": "https://github.com/orgs/jbossas/teams/eap-qs-push", + "members_url": "https://api.github.com/organizations/326816/team/3693886/members{/member}", + "repositories_url": "https://api.github.com/organizations/326816/team/3693886/repos", + "permission": "pull", + "parent": null + }, + { + "name": "EAP WF-To-Product", + "id": 3693963, + "node_id": "MDQ6VGVhbTM2OTM5NjM=", + "slug": "eap-wf-to-product", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/326816/team/3693963", + "html_url": "https://github.com/orgs/jbossas/teams/eap-wf-to-product", + "members_url": "https://api.github.com/organizations/326816/team/3693963/members{/member}", + "repositories_url": "https://api.github.com/organizations/326816/team/3693963/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-inc-30.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-inc-30.json deleted file mode 100644 index 94e545df92..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-inc-30.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "login": "jenkins-inc", - "id": 17552794, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3NTUyNzk0", - "url": "https://api.github.com/orgs/jenkins-inc", - "repos_url": "https://api.github.com/orgs/jenkins-inc/repos", - "events_url": "https://api.github.com/orgs/jenkins-inc/events", - "hooks_url": "https://api.github.com/orgs/jenkins-inc/hooks", - "issues_url": "https://api.github.com/orgs/jenkins-inc/issues", - "members_url": "https://api.github.com/orgs/jenkins-inc/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkins-inc/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/17552794?v=4", - "description": "A fictional company to demonstrate Jenkins capabilities", - "name": "Jenkins, Inc.", - "company": null, - "blog": "http://demo.jenkins-ci.org/", - "location": "Everywhere", - "email": null, - "is_verified": false, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 7, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkins-inc", - "created_at": "2016-02-29T18:02:13Z", - "updated_at": "2016-02-29T18:11:10Z", - "type": "Organization", - "total_private_repos": 0, - "owned_private_repos": 0, - "private_gists": 0, - "disk_usage": 862, - "collaborators": 0, - "billing_email": "kk@kohsuke.org", - "default_repository_permission": "write", - "members_can_create_repositories": true, - "two_factor_requirement_enabled": false, - "plan": { - "name": "free", - "space": 976562499, - "private_repos": 0, - "filled_seats": 9, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-inc_teams-31.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-inc_teams-31.json deleted file mode 100644 index 8cfdb451c0..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-inc_teams-31.json +++ /dev/null @@ -1,15 +0,0 @@ -[ - { - "name": "Engineering", - "id": 1941826, - "node_id": "MDQ6VGVhbTE5NDE4MjY=", - "slug": "engineering", - "description": "Jenkins, Inc. engineering team", - "privacy": "closed", - "url": "https://api.github.com/teams/1941826", - "html_url": "https://github.com/orgs/jenkins-inc/teams/engineering", - "members_url": "https://api.github.com/teams/1941826/members{/member}", - "repositories_url": "https://api.github.com/teams/1941826/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra-56.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra-56.json deleted file mode 100644 index da44f65091..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra-56.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "login": "jenkins-infra", - "id": 7422698, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc0MjI2OTg=", - "url": "https://api.github.com/orgs/jenkins-infra", - "repos_url": "https://api.github.com/orgs/jenkins-infra/repos", - "events_url": "https://api.github.com/orgs/jenkins-infra/events", - "hooks_url": "https://api.github.com/orgs/jenkins-infra/hooks", - "issues_url": "https://api.github.com/orgs/jenkins-infra/issues", - "members_url": "https://api.github.com/orgs/jenkins-infra/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkins-infra/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/7422698?v=4", - "description": "Repositories owned by the Jenkins project infrastructure team", - "name": "Jenkins Infra", - "company": null, - "blog": null, - "location": null, - "email": "infra@lists.jenkins-ci.org", - "is_verified": false, - "has_organization_projects": false, - "has_repository_projects": false, - "public_repos": 75, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkins-infra", - "created_at": "2014-04-27T19:47:26Z", - "updated_at": "2018-08-07T02:50:50Z", - "type": "Organization", - "total_private_repos": 5, - "owned_private_repos": 5, - "private_gists": null, - "disk_usage": null, - "collaborators": null, - "billing_email": null, - "default_repository_permission": null, - "members_can_create_repositories": true, - "two_factor_requirement_enabled": null, - "plan": { - "name": "bronze", - "space": 976562499, - "private_repos": 10, - "filled_seats": 44, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-57.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-57.json deleted file mode 100644 index 54b8b4040d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-57.json +++ /dev/null @@ -1,249 +0,0 @@ -[ - { - "name": "tools", - "id": 1878034, - "node_id": "MDQ6VGVhbTE4NzgwMzQ=", - "slug": "tools", - "description": "Contributors responsible for internal tooling", - "privacy": "closed", - "url": "https://api.github.com/teams/1878034", - "html_url": "https://github.com/orgs/jenkins-infra/teams/tools", - "members_url": "https://api.github.com/teams/1878034/members{/member}", - "repositories_url": "https://api.github.com/teams/1878034/repos", - "permission": "pull" - }, - { - "name": "Copy Editors", - "id": 1882929, - "node_id": "MDQ6VGVhbTE4ODI5Mjk=", - "slug": "copy-editors", - "description": "Team of contributors who can act as reviewers and editors for content", - "privacy": "closed", - "url": "https://api.github.com/teams/1882929", - "html_url": "https://github.com/orgs/jenkins-infra/teams/copy-editors", - "members_url": "https://api.github.com/teams/1882929/members{/member}", - "repositories_url": "https://api.github.com/teams/1882929/repos", - "permission": "pull" - }, - { - "name": "frontenders", - "id": 1976871, - "node_id": "MDQ6VGVhbTE5NzY4NzE=", - "slug": "frontenders", - "description": "People who are adept at reviewing CSS/JS code", - "privacy": "closed", - "url": "https://api.github.com/teams/1976871", - "html_url": "https://github.com/orgs/jenkins-infra/teams/frontenders", - "members_url": "https://api.github.com/teams/1976871/members{/member}", - "repositories_url": "https://api.github.com/teams/1976871/repos", - "permission": "pull" - }, - { - "name": "Oncall", - "id": 2006380, - "node_id": "MDQ6VGVhbTIwMDYzODA=", - "slug": "oncall", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2006380", - "html_url": "https://github.com/orgs/jenkins-infra/teams/oncall", - "members_url": "https://api.github.com/teams/2006380/members{/member}", - "repositories_url": "https://api.github.com/teams/2006380/repos", - "permission": "pull" - }, - { - "name": "plugin-site", - "id": 2175393, - "node_id": "MDQ6VGVhbTIxNzUzOTM=", - "slug": "plugin-site", - "description": "Developers of the plugin site", - "privacy": "closed", - "url": "https://api.github.com/teams/2175393", - "html_url": "https://github.com/orgs/jenkins-infra/teams/plugin-site", - "members_url": "https://api.github.com/teams/2175393/members{/member}", - "repositories_url": "https://api.github.com/teams/2175393/repos", - "permission": "pull" - }, - { - "name": "docs", - "id": 2188150, - "node_id": "MDQ6VGVhbTIxODgxNTA=", - "slug": "docs", - "description": "Documentation team", - "privacy": "closed", - "url": "https://api.github.com/teams/2188150", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docs", - "members_url": "https://api.github.com/teams/2188150/members{/member}", - "repositories_url": "https://api.github.com/teams/2188150/repos", - "permission": "pull" - }, - { - "name": "azure", - "id": 2216148, - "node_id": "MDQ6VGVhbTIyMTYxNDg=", - "slug": "azure", - "description": "Contributors helping migrate to Azure", - "privacy": "closed", - "url": "https://api.github.com/teams/2216148", - "html_url": "https://github.com/orgs/jenkins-infra/teams/azure", - "members_url": "https://api.github.com/teams/2216148/members{/member}", - "repositories_url": "https://api.github.com/teams/2216148/repos", - "permission": "pull" - }, - { - "name": "site-authors", - "id": 2278154, - "node_id": "MDQ6VGVhbTIyNzgxNTQ=", - "slug": "site-authors", - "description": "Collection of people who work on or write portions of jenkins.io", - "privacy": "closed", - "url": "https://api.github.com/teams/2278154", - "html_url": "https://github.com/orgs/jenkins-infra/teams/site-authors", - "members_url": "https://api.github.com/teams/2278154/members{/member}", - "repositories_url": "https://api.github.com/teams/2278154/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2510135, - "node_id": "MDQ6VGVhbTI1MTAxMzU=", - "slug": "hacktoberfest", - "description": "Jenkins Hacktoberfest Team (reviewers and organizers)", - "privacy": "closed", - "url": "https://api.github.com/teams/2510135", - "html_url": "https://github.com/orgs/jenkins-infra/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2510135/members{/member}", - "repositories_url": "https://api.github.com/teams/2510135/repos", - "permission": "pull" - }, - { - "name": "cn.jenkins.io", - "id": 2658933, - "node_id": "MDQ6VGVhbTI2NTg5MzM=", - "slug": "cn-jenkins-io", - "description": "People who work on Chinese website", - "privacy": "closed", - "url": "https://api.github.com/teams/2658933", - "html_url": "https://github.com/orgs/jenkins-infra/teams/cn-jenkins-io", - "members_url": "https://api.github.com/teams/2658933/members{/member}", - "repositories_url": "https://api.github.com/teams/2658933/repos", - "permission": "pull" - }, - { - "name": "team-evergreen", - "id": 2670699, - "node_id": "MDQ6VGVhbTI2NzA2OTk=", - "slug": "team-evergreen", - "description": "Team responsible for Jenkins Evergreen distribution system", - "privacy": "closed", - "url": "https://api.github.com/teams/2670699", - "html_url": "https://github.com/orgs/jenkins-infra/teams/team-evergreen", - "members_url": "https://api.github.com/teams/2670699/members{/member}", - "repositories_url": "https://api.github.com/teams/2670699/repos", - "permission": "pull" - }, - { - "name": "ci-maintainers", - "id": 2744724, - "node_id": "MDQ6VGVhbTI3NDQ3MjQ=", - "slug": "ci-maintainers", - "description": "Folks responsible for maintaining ci/cd infrastructure.", - "privacy": "closed", - "url": "https://api.github.com/teams/2744724", - "html_url": "https://github.com/orgs/jenkins-infra/teams/ci-maintainers", - "members_url": "https://api.github.com/teams/2744724/members{/member}", - "repositories_url": "https://api.github.com/teams/2744724/repos", - "permission": "pull" - }, - { - "name": "chinese-localization-sig", - "id": 2970826, - "node_id": "MDQ6VGVhbTI5NzA4MjY=", - "slug": "chinese-localization-sig", - "description": "This team represents main chinese-localization-sig contributors. By default they have github 'read' permission.", - "privacy": "closed", - "url": "https://api.github.com/teams/2970826", - "html_url": "https://github.com/orgs/jenkins-infra/teams/chinese-localization-sig", - "members_url": "https://api.github.com/teams/2970826/members{/member}", - "repositories_url": "https://api.github.com/teams/2970826/repos", - "permission": "pull" - }, - { - "name": "gsoc", - "id": 3017249, - "node_id": "MDQ6VGVhbTMwMTcyNDk=", - "slug": "gsoc", - "description": "Google Summer of Code coordinators", - "privacy": "closed", - "url": "https://api.github.com/teams/3017249", - "html_url": "https://github.com/orgs/jenkins-infra/teams/gsoc", - "members_url": "https://api.github.com/teams/3017249/members{/member}", - "repositories_url": "https://api.github.com/teams/3017249/repos", - "permission": "pull" - }, - { - "name": "monitoring", - "id": 3023638, - "node_id": "MDQ6VGVhbTMwMjM2Mzg=", - "slug": "monitoring", - "description": "Jenkins Infrastructure Monitoring", - "privacy": "closed", - "url": "https://api.github.com/teams/3023638", - "html_url": "https://github.com/orgs/jenkins-infra/teams/monitoring", - "members_url": "https://api.github.com/teams/3023638/members{/member}", - "repositories_url": "https://api.github.com/teams/3023638/repos", - "permission": "pull" - }, - { - "name": "java11-support", - "id": 3049682, - "node_id": "MDQ6VGVhbTMwNDk2ODI=", - "slug": "java11-support", - "description": "Java 11 Support Team (JEP-211)", - "privacy": "closed", - "url": "https://api.github.com/teams/3049682", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support", - "members_url": "https://api.github.com/teams/3049682/members{/member}", - "repositories_url": "https://api.github.com/teams/3049682/repos", - "permission": "pull" - }, - { - "name": "java11-support-reviewer", - "id": 3049687, - "node_id": "MDQ6VGVhbTMwNDk2ODc=", - "slug": "java11-support-reviewer", - "description": "This team represents every contributors with reviewers permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/3049687", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support-reviewer", - "members_url": "https://api.github.com/teams/3049687/members{/member}", - "repositories_url": "https://api.github.com/teams/3049687/repos", - "permission": "pull" - }, - { - "name": "java11-support-maintainer", - "id": 3049911, - "node_id": "MDQ6VGVhbTMwNDk5MTE=", - "slug": "java11-support-maintainer", - "description": "This team represents every java11 contributors with write permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/3049911", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support-maintainer", - "members_url": "https://api.github.com/teams/3049911/members{/member}", - "repositories_url": "https://api.github.com/teams/3049911/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 3434214, - "node_id": "MDQ6VGVhbTM0MzQyMTQ=", - "slug": "docker", - "description": "This team represents everybody interested to review jenkins infrastructure docker images ", - "privacy": "closed", - "url": "https://api.github.com/teams/3434214", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docker", - "members_url": "https://api.github.com/teams/3434214/members{/member}", - "repositories_url": "https://api.github.com/teams/3434214/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-59.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-59.json deleted file mode 100644 index 54b8b4040d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-59.json +++ /dev/null @@ -1,249 +0,0 @@ -[ - { - "name": "tools", - "id": 1878034, - "node_id": "MDQ6VGVhbTE4NzgwMzQ=", - "slug": "tools", - "description": "Contributors responsible for internal tooling", - "privacy": "closed", - "url": "https://api.github.com/teams/1878034", - "html_url": "https://github.com/orgs/jenkins-infra/teams/tools", - "members_url": "https://api.github.com/teams/1878034/members{/member}", - "repositories_url": "https://api.github.com/teams/1878034/repos", - "permission": "pull" - }, - { - "name": "Copy Editors", - "id": 1882929, - "node_id": "MDQ6VGVhbTE4ODI5Mjk=", - "slug": "copy-editors", - "description": "Team of contributors who can act as reviewers and editors for content", - "privacy": "closed", - "url": "https://api.github.com/teams/1882929", - "html_url": "https://github.com/orgs/jenkins-infra/teams/copy-editors", - "members_url": "https://api.github.com/teams/1882929/members{/member}", - "repositories_url": "https://api.github.com/teams/1882929/repos", - "permission": "pull" - }, - { - "name": "frontenders", - "id": 1976871, - "node_id": "MDQ6VGVhbTE5NzY4NzE=", - "slug": "frontenders", - "description": "People who are adept at reviewing CSS/JS code", - "privacy": "closed", - "url": "https://api.github.com/teams/1976871", - "html_url": "https://github.com/orgs/jenkins-infra/teams/frontenders", - "members_url": "https://api.github.com/teams/1976871/members{/member}", - "repositories_url": "https://api.github.com/teams/1976871/repos", - "permission": "pull" - }, - { - "name": "Oncall", - "id": 2006380, - "node_id": "MDQ6VGVhbTIwMDYzODA=", - "slug": "oncall", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2006380", - "html_url": "https://github.com/orgs/jenkins-infra/teams/oncall", - "members_url": "https://api.github.com/teams/2006380/members{/member}", - "repositories_url": "https://api.github.com/teams/2006380/repos", - "permission": "pull" - }, - { - "name": "plugin-site", - "id": 2175393, - "node_id": "MDQ6VGVhbTIxNzUzOTM=", - "slug": "plugin-site", - "description": "Developers of the plugin site", - "privacy": "closed", - "url": "https://api.github.com/teams/2175393", - "html_url": "https://github.com/orgs/jenkins-infra/teams/plugin-site", - "members_url": "https://api.github.com/teams/2175393/members{/member}", - "repositories_url": "https://api.github.com/teams/2175393/repos", - "permission": "pull" - }, - { - "name": "docs", - "id": 2188150, - "node_id": "MDQ6VGVhbTIxODgxNTA=", - "slug": "docs", - "description": "Documentation team", - "privacy": "closed", - "url": "https://api.github.com/teams/2188150", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docs", - "members_url": "https://api.github.com/teams/2188150/members{/member}", - "repositories_url": "https://api.github.com/teams/2188150/repos", - "permission": "pull" - }, - { - "name": "azure", - "id": 2216148, - "node_id": "MDQ6VGVhbTIyMTYxNDg=", - "slug": "azure", - "description": "Contributors helping migrate to Azure", - "privacy": "closed", - "url": "https://api.github.com/teams/2216148", - "html_url": "https://github.com/orgs/jenkins-infra/teams/azure", - "members_url": "https://api.github.com/teams/2216148/members{/member}", - "repositories_url": "https://api.github.com/teams/2216148/repos", - "permission": "pull" - }, - { - "name": "site-authors", - "id": 2278154, - "node_id": "MDQ6VGVhbTIyNzgxNTQ=", - "slug": "site-authors", - "description": "Collection of people who work on or write portions of jenkins.io", - "privacy": "closed", - "url": "https://api.github.com/teams/2278154", - "html_url": "https://github.com/orgs/jenkins-infra/teams/site-authors", - "members_url": "https://api.github.com/teams/2278154/members{/member}", - "repositories_url": "https://api.github.com/teams/2278154/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2510135, - "node_id": "MDQ6VGVhbTI1MTAxMzU=", - "slug": "hacktoberfest", - "description": "Jenkins Hacktoberfest Team (reviewers and organizers)", - "privacy": "closed", - "url": "https://api.github.com/teams/2510135", - "html_url": "https://github.com/orgs/jenkins-infra/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2510135/members{/member}", - "repositories_url": "https://api.github.com/teams/2510135/repos", - "permission": "pull" - }, - { - "name": "cn.jenkins.io", - "id": 2658933, - "node_id": "MDQ6VGVhbTI2NTg5MzM=", - "slug": "cn-jenkins-io", - "description": "People who work on Chinese website", - "privacy": "closed", - "url": "https://api.github.com/teams/2658933", - "html_url": "https://github.com/orgs/jenkins-infra/teams/cn-jenkins-io", - "members_url": "https://api.github.com/teams/2658933/members{/member}", - "repositories_url": "https://api.github.com/teams/2658933/repos", - "permission": "pull" - }, - { - "name": "team-evergreen", - "id": 2670699, - "node_id": "MDQ6VGVhbTI2NzA2OTk=", - "slug": "team-evergreen", - "description": "Team responsible for Jenkins Evergreen distribution system", - "privacy": "closed", - "url": "https://api.github.com/teams/2670699", - "html_url": "https://github.com/orgs/jenkins-infra/teams/team-evergreen", - "members_url": "https://api.github.com/teams/2670699/members{/member}", - "repositories_url": "https://api.github.com/teams/2670699/repos", - "permission": "pull" - }, - { - "name": "ci-maintainers", - "id": 2744724, - "node_id": "MDQ6VGVhbTI3NDQ3MjQ=", - "slug": "ci-maintainers", - "description": "Folks responsible for maintaining ci/cd infrastructure.", - "privacy": "closed", - "url": "https://api.github.com/teams/2744724", - "html_url": "https://github.com/orgs/jenkins-infra/teams/ci-maintainers", - "members_url": "https://api.github.com/teams/2744724/members{/member}", - "repositories_url": "https://api.github.com/teams/2744724/repos", - "permission": "pull" - }, - { - "name": "chinese-localization-sig", - "id": 2970826, - "node_id": "MDQ6VGVhbTI5NzA4MjY=", - "slug": "chinese-localization-sig", - "description": "This team represents main chinese-localization-sig contributors. By default they have github 'read' permission.", - "privacy": "closed", - "url": "https://api.github.com/teams/2970826", - "html_url": "https://github.com/orgs/jenkins-infra/teams/chinese-localization-sig", - "members_url": "https://api.github.com/teams/2970826/members{/member}", - "repositories_url": "https://api.github.com/teams/2970826/repos", - "permission": "pull" - }, - { - "name": "gsoc", - "id": 3017249, - "node_id": "MDQ6VGVhbTMwMTcyNDk=", - "slug": "gsoc", - "description": "Google Summer of Code coordinators", - "privacy": "closed", - "url": "https://api.github.com/teams/3017249", - "html_url": "https://github.com/orgs/jenkins-infra/teams/gsoc", - "members_url": "https://api.github.com/teams/3017249/members{/member}", - "repositories_url": "https://api.github.com/teams/3017249/repos", - "permission": "pull" - }, - { - "name": "monitoring", - "id": 3023638, - "node_id": "MDQ6VGVhbTMwMjM2Mzg=", - "slug": "monitoring", - "description": "Jenkins Infrastructure Monitoring", - "privacy": "closed", - "url": "https://api.github.com/teams/3023638", - "html_url": "https://github.com/orgs/jenkins-infra/teams/monitoring", - "members_url": "https://api.github.com/teams/3023638/members{/member}", - "repositories_url": "https://api.github.com/teams/3023638/repos", - "permission": "pull" - }, - { - "name": "java11-support", - "id": 3049682, - "node_id": "MDQ6VGVhbTMwNDk2ODI=", - "slug": "java11-support", - "description": "Java 11 Support Team (JEP-211)", - "privacy": "closed", - "url": "https://api.github.com/teams/3049682", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support", - "members_url": "https://api.github.com/teams/3049682/members{/member}", - "repositories_url": "https://api.github.com/teams/3049682/repos", - "permission": "pull" - }, - { - "name": "java11-support-reviewer", - "id": 3049687, - "node_id": "MDQ6VGVhbTMwNDk2ODc=", - "slug": "java11-support-reviewer", - "description": "This team represents every contributors with reviewers permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/3049687", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support-reviewer", - "members_url": "https://api.github.com/teams/3049687/members{/member}", - "repositories_url": "https://api.github.com/teams/3049687/repos", - "permission": "pull" - }, - { - "name": "java11-support-maintainer", - "id": 3049911, - "node_id": "MDQ6VGVhbTMwNDk5MTE=", - "slug": "java11-support-maintainer", - "description": "This team represents every java11 contributors with write permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/3049911", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support-maintainer", - "members_url": "https://api.github.com/teams/3049911/members{/member}", - "repositories_url": "https://api.github.com/teams/3049911/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 3434214, - "node_id": "MDQ6VGVhbTM0MzQyMTQ=", - "slug": "docker", - "description": "This team represents everybody interested to review jenkins infrastructure docker images ", - "privacy": "closed", - "url": "https://api.github.com/teams/3434214", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docker", - "members_url": "https://api.github.com/teams/3434214/members{/member}", - "repositories_url": "https://api.github.com/teams/3434214/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-61.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-61.json deleted file mode 100644 index 54b8b4040d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-61.json +++ /dev/null @@ -1,249 +0,0 @@ -[ - { - "name": "tools", - "id": 1878034, - "node_id": "MDQ6VGVhbTE4NzgwMzQ=", - "slug": "tools", - "description": "Contributors responsible for internal tooling", - "privacy": "closed", - "url": "https://api.github.com/teams/1878034", - "html_url": "https://github.com/orgs/jenkins-infra/teams/tools", - "members_url": "https://api.github.com/teams/1878034/members{/member}", - "repositories_url": "https://api.github.com/teams/1878034/repos", - "permission": "pull" - }, - { - "name": "Copy Editors", - "id": 1882929, - "node_id": "MDQ6VGVhbTE4ODI5Mjk=", - "slug": "copy-editors", - "description": "Team of contributors who can act as reviewers and editors for content", - "privacy": "closed", - "url": "https://api.github.com/teams/1882929", - "html_url": "https://github.com/orgs/jenkins-infra/teams/copy-editors", - "members_url": "https://api.github.com/teams/1882929/members{/member}", - "repositories_url": "https://api.github.com/teams/1882929/repos", - "permission": "pull" - }, - { - "name": "frontenders", - "id": 1976871, - "node_id": "MDQ6VGVhbTE5NzY4NzE=", - "slug": "frontenders", - "description": "People who are adept at reviewing CSS/JS code", - "privacy": "closed", - "url": "https://api.github.com/teams/1976871", - "html_url": "https://github.com/orgs/jenkins-infra/teams/frontenders", - "members_url": "https://api.github.com/teams/1976871/members{/member}", - "repositories_url": "https://api.github.com/teams/1976871/repos", - "permission": "pull" - }, - { - "name": "Oncall", - "id": 2006380, - "node_id": "MDQ6VGVhbTIwMDYzODA=", - "slug": "oncall", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2006380", - "html_url": "https://github.com/orgs/jenkins-infra/teams/oncall", - "members_url": "https://api.github.com/teams/2006380/members{/member}", - "repositories_url": "https://api.github.com/teams/2006380/repos", - "permission": "pull" - }, - { - "name": "plugin-site", - "id": 2175393, - "node_id": "MDQ6VGVhbTIxNzUzOTM=", - "slug": "plugin-site", - "description": "Developers of the plugin site", - "privacy": "closed", - "url": "https://api.github.com/teams/2175393", - "html_url": "https://github.com/orgs/jenkins-infra/teams/plugin-site", - "members_url": "https://api.github.com/teams/2175393/members{/member}", - "repositories_url": "https://api.github.com/teams/2175393/repos", - "permission": "pull" - }, - { - "name": "docs", - "id": 2188150, - "node_id": "MDQ6VGVhbTIxODgxNTA=", - "slug": "docs", - "description": "Documentation team", - "privacy": "closed", - "url": "https://api.github.com/teams/2188150", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docs", - "members_url": "https://api.github.com/teams/2188150/members{/member}", - "repositories_url": "https://api.github.com/teams/2188150/repos", - "permission": "pull" - }, - { - "name": "azure", - "id": 2216148, - "node_id": "MDQ6VGVhbTIyMTYxNDg=", - "slug": "azure", - "description": "Contributors helping migrate to Azure", - "privacy": "closed", - "url": "https://api.github.com/teams/2216148", - "html_url": "https://github.com/orgs/jenkins-infra/teams/azure", - "members_url": "https://api.github.com/teams/2216148/members{/member}", - "repositories_url": "https://api.github.com/teams/2216148/repos", - "permission": "pull" - }, - { - "name": "site-authors", - "id": 2278154, - "node_id": "MDQ6VGVhbTIyNzgxNTQ=", - "slug": "site-authors", - "description": "Collection of people who work on or write portions of jenkins.io", - "privacy": "closed", - "url": "https://api.github.com/teams/2278154", - "html_url": "https://github.com/orgs/jenkins-infra/teams/site-authors", - "members_url": "https://api.github.com/teams/2278154/members{/member}", - "repositories_url": "https://api.github.com/teams/2278154/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2510135, - "node_id": "MDQ6VGVhbTI1MTAxMzU=", - "slug": "hacktoberfest", - "description": "Jenkins Hacktoberfest Team (reviewers and organizers)", - "privacy": "closed", - "url": "https://api.github.com/teams/2510135", - "html_url": "https://github.com/orgs/jenkins-infra/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2510135/members{/member}", - "repositories_url": "https://api.github.com/teams/2510135/repos", - "permission": "pull" - }, - { - "name": "cn.jenkins.io", - "id": 2658933, - "node_id": "MDQ6VGVhbTI2NTg5MzM=", - "slug": "cn-jenkins-io", - "description": "People who work on Chinese website", - "privacy": "closed", - "url": "https://api.github.com/teams/2658933", - "html_url": "https://github.com/orgs/jenkins-infra/teams/cn-jenkins-io", - "members_url": "https://api.github.com/teams/2658933/members{/member}", - "repositories_url": "https://api.github.com/teams/2658933/repos", - "permission": "pull" - }, - { - "name": "team-evergreen", - "id": 2670699, - "node_id": "MDQ6VGVhbTI2NzA2OTk=", - "slug": "team-evergreen", - "description": "Team responsible for Jenkins Evergreen distribution system", - "privacy": "closed", - "url": "https://api.github.com/teams/2670699", - "html_url": "https://github.com/orgs/jenkins-infra/teams/team-evergreen", - "members_url": "https://api.github.com/teams/2670699/members{/member}", - "repositories_url": "https://api.github.com/teams/2670699/repos", - "permission": "pull" - }, - { - "name": "ci-maintainers", - "id": 2744724, - "node_id": "MDQ6VGVhbTI3NDQ3MjQ=", - "slug": "ci-maintainers", - "description": "Folks responsible for maintaining ci/cd infrastructure.", - "privacy": "closed", - "url": "https://api.github.com/teams/2744724", - "html_url": "https://github.com/orgs/jenkins-infra/teams/ci-maintainers", - "members_url": "https://api.github.com/teams/2744724/members{/member}", - "repositories_url": "https://api.github.com/teams/2744724/repos", - "permission": "pull" - }, - { - "name": "chinese-localization-sig", - "id": 2970826, - "node_id": "MDQ6VGVhbTI5NzA4MjY=", - "slug": "chinese-localization-sig", - "description": "This team represents main chinese-localization-sig contributors. By default they have github 'read' permission.", - "privacy": "closed", - "url": "https://api.github.com/teams/2970826", - "html_url": "https://github.com/orgs/jenkins-infra/teams/chinese-localization-sig", - "members_url": "https://api.github.com/teams/2970826/members{/member}", - "repositories_url": "https://api.github.com/teams/2970826/repos", - "permission": "pull" - }, - { - "name": "gsoc", - "id": 3017249, - "node_id": "MDQ6VGVhbTMwMTcyNDk=", - "slug": "gsoc", - "description": "Google Summer of Code coordinators", - "privacy": "closed", - "url": "https://api.github.com/teams/3017249", - "html_url": "https://github.com/orgs/jenkins-infra/teams/gsoc", - "members_url": "https://api.github.com/teams/3017249/members{/member}", - "repositories_url": "https://api.github.com/teams/3017249/repos", - "permission": "pull" - }, - { - "name": "monitoring", - "id": 3023638, - "node_id": "MDQ6VGVhbTMwMjM2Mzg=", - "slug": "monitoring", - "description": "Jenkins Infrastructure Monitoring", - "privacy": "closed", - "url": "https://api.github.com/teams/3023638", - "html_url": "https://github.com/orgs/jenkins-infra/teams/monitoring", - "members_url": "https://api.github.com/teams/3023638/members{/member}", - "repositories_url": "https://api.github.com/teams/3023638/repos", - "permission": "pull" - }, - { - "name": "java11-support", - "id": 3049682, - "node_id": "MDQ6VGVhbTMwNDk2ODI=", - "slug": "java11-support", - "description": "Java 11 Support Team (JEP-211)", - "privacy": "closed", - "url": "https://api.github.com/teams/3049682", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support", - "members_url": "https://api.github.com/teams/3049682/members{/member}", - "repositories_url": "https://api.github.com/teams/3049682/repos", - "permission": "pull" - }, - { - "name": "java11-support-reviewer", - "id": 3049687, - "node_id": "MDQ6VGVhbTMwNDk2ODc=", - "slug": "java11-support-reviewer", - "description": "This team represents every contributors with reviewers permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/3049687", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support-reviewer", - "members_url": "https://api.github.com/teams/3049687/members{/member}", - "repositories_url": "https://api.github.com/teams/3049687/repos", - "permission": "pull" - }, - { - "name": "java11-support-maintainer", - "id": 3049911, - "node_id": "MDQ6VGVhbTMwNDk5MTE=", - "slug": "java11-support-maintainer", - "description": "This team represents every java11 contributors with write permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/3049911", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support-maintainer", - "members_url": "https://api.github.com/teams/3049911/members{/member}", - "repositories_url": "https://api.github.com/teams/3049911/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 3434214, - "node_id": "MDQ6VGVhbTM0MzQyMTQ=", - "slug": "docker", - "description": "This team represents everybody interested to review jenkins infrastructure docker images ", - "privacy": "closed", - "url": "https://api.github.com/teams/3434214", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docker", - "members_url": "https://api.github.com/teams/3434214/members{/member}", - "repositories_url": "https://api.github.com/teams/3434214/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-63.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-63.json deleted file mode 100644 index 54b8b4040d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-63.json +++ /dev/null @@ -1,249 +0,0 @@ -[ - { - "name": "tools", - "id": 1878034, - "node_id": "MDQ6VGVhbTE4NzgwMzQ=", - "slug": "tools", - "description": "Contributors responsible for internal tooling", - "privacy": "closed", - "url": "https://api.github.com/teams/1878034", - "html_url": "https://github.com/orgs/jenkins-infra/teams/tools", - "members_url": "https://api.github.com/teams/1878034/members{/member}", - "repositories_url": "https://api.github.com/teams/1878034/repos", - "permission": "pull" - }, - { - "name": "Copy Editors", - "id": 1882929, - "node_id": "MDQ6VGVhbTE4ODI5Mjk=", - "slug": "copy-editors", - "description": "Team of contributors who can act as reviewers and editors for content", - "privacy": "closed", - "url": "https://api.github.com/teams/1882929", - "html_url": "https://github.com/orgs/jenkins-infra/teams/copy-editors", - "members_url": "https://api.github.com/teams/1882929/members{/member}", - "repositories_url": "https://api.github.com/teams/1882929/repos", - "permission": "pull" - }, - { - "name": "frontenders", - "id": 1976871, - "node_id": "MDQ6VGVhbTE5NzY4NzE=", - "slug": "frontenders", - "description": "People who are adept at reviewing CSS/JS code", - "privacy": "closed", - "url": "https://api.github.com/teams/1976871", - "html_url": "https://github.com/orgs/jenkins-infra/teams/frontenders", - "members_url": "https://api.github.com/teams/1976871/members{/member}", - "repositories_url": "https://api.github.com/teams/1976871/repos", - "permission": "pull" - }, - { - "name": "Oncall", - "id": 2006380, - "node_id": "MDQ6VGVhbTIwMDYzODA=", - "slug": "oncall", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2006380", - "html_url": "https://github.com/orgs/jenkins-infra/teams/oncall", - "members_url": "https://api.github.com/teams/2006380/members{/member}", - "repositories_url": "https://api.github.com/teams/2006380/repos", - "permission": "pull" - }, - { - "name": "plugin-site", - "id": 2175393, - "node_id": "MDQ6VGVhbTIxNzUzOTM=", - "slug": "plugin-site", - "description": "Developers of the plugin site", - "privacy": "closed", - "url": "https://api.github.com/teams/2175393", - "html_url": "https://github.com/orgs/jenkins-infra/teams/plugin-site", - "members_url": "https://api.github.com/teams/2175393/members{/member}", - "repositories_url": "https://api.github.com/teams/2175393/repos", - "permission": "pull" - }, - { - "name": "docs", - "id": 2188150, - "node_id": "MDQ6VGVhbTIxODgxNTA=", - "slug": "docs", - "description": "Documentation team", - "privacy": "closed", - "url": "https://api.github.com/teams/2188150", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docs", - "members_url": "https://api.github.com/teams/2188150/members{/member}", - "repositories_url": "https://api.github.com/teams/2188150/repos", - "permission": "pull" - }, - { - "name": "azure", - "id": 2216148, - "node_id": "MDQ6VGVhbTIyMTYxNDg=", - "slug": "azure", - "description": "Contributors helping migrate to Azure", - "privacy": "closed", - "url": "https://api.github.com/teams/2216148", - "html_url": "https://github.com/orgs/jenkins-infra/teams/azure", - "members_url": "https://api.github.com/teams/2216148/members{/member}", - "repositories_url": "https://api.github.com/teams/2216148/repos", - "permission": "pull" - }, - { - "name": "site-authors", - "id": 2278154, - "node_id": "MDQ6VGVhbTIyNzgxNTQ=", - "slug": "site-authors", - "description": "Collection of people who work on or write portions of jenkins.io", - "privacy": "closed", - "url": "https://api.github.com/teams/2278154", - "html_url": "https://github.com/orgs/jenkins-infra/teams/site-authors", - "members_url": "https://api.github.com/teams/2278154/members{/member}", - "repositories_url": "https://api.github.com/teams/2278154/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2510135, - "node_id": "MDQ6VGVhbTI1MTAxMzU=", - "slug": "hacktoberfest", - "description": "Jenkins Hacktoberfest Team (reviewers and organizers)", - "privacy": "closed", - "url": "https://api.github.com/teams/2510135", - "html_url": "https://github.com/orgs/jenkins-infra/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2510135/members{/member}", - "repositories_url": "https://api.github.com/teams/2510135/repos", - "permission": "pull" - }, - { - "name": "cn.jenkins.io", - "id": 2658933, - "node_id": "MDQ6VGVhbTI2NTg5MzM=", - "slug": "cn-jenkins-io", - "description": "People who work on Chinese website", - "privacy": "closed", - "url": "https://api.github.com/teams/2658933", - "html_url": "https://github.com/orgs/jenkins-infra/teams/cn-jenkins-io", - "members_url": "https://api.github.com/teams/2658933/members{/member}", - "repositories_url": "https://api.github.com/teams/2658933/repos", - "permission": "pull" - }, - { - "name": "team-evergreen", - "id": 2670699, - "node_id": "MDQ6VGVhbTI2NzA2OTk=", - "slug": "team-evergreen", - "description": "Team responsible for Jenkins Evergreen distribution system", - "privacy": "closed", - "url": "https://api.github.com/teams/2670699", - "html_url": "https://github.com/orgs/jenkins-infra/teams/team-evergreen", - "members_url": "https://api.github.com/teams/2670699/members{/member}", - "repositories_url": "https://api.github.com/teams/2670699/repos", - "permission": "pull" - }, - { - "name": "ci-maintainers", - "id": 2744724, - "node_id": "MDQ6VGVhbTI3NDQ3MjQ=", - "slug": "ci-maintainers", - "description": "Folks responsible for maintaining ci/cd infrastructure.", - "privacy": "closed", - "url": "https://api.github.com/teams/2744724", - "html_url": "https://github.com/orgs/jenkins-infra/teams/ci-maintainers", - "members_url": "https://api.github.com/teams/2744724/members{/member}", - "repositories_url": "https://api.github.com/teams/2744724/repos", - "permission": "pull" - }, - { - "name": "chinese-localization-sig", - "id": 2970826, - "node_id": "MDQ6VGVhbTI5NzA4MjY=", - "slug": "chinese-localization-sig", - "description": "This team represents main chinese-localization-sig contributors. By default they have github 'read' permission.", - "privacy": "closed", - "url": "https://api.github.com/teams/2970826", - "html_url": "https://github.com/orgs/jenkins-infra/teams/chinese-localization-sig", - "members_url": "https://api.github.com/teams/2970826/members{/member}", - "repositories_url": "https://api.github.com/teams/2970826/repos", - "permission": "pull" - }, - { - "name": "gsoc", - "id": 3017249, - "node_id": "MDQ6VGVhbTMwMTcyNDk=", - "slug": "gsoc", - "description": "Google Summer of Code coordinators", - "privacy": "closed", - "url": "https://api.github.com/teams/3017249", - "html_url": "https://github.com/orgs/jenkins-infra/teams/gsoc", - "members_url": "https://api.github.com/teams/3017249/members{/member}", - "repositories_url": "https://api.github.com/teams/3017249/repos", - "permission": "pull" - }, - { - "name": "monitoring", - "id": 3023638, - "node_id": "MDQ6VGVhbTMwMjM2Mzg=", - "slug": "monitoring", - "description": "Jenkins Infrastructure Monitoring", - "privacy": "closed", - "url": "https://api.github.com/teams/3023638", - "html_url": "https://github.com/orgs/jenkins-infra/teams/monitoring", - "members_url": "https://api.github.com/teams/3023638/members{/member}", - "repositories_url": "https://api.github.com/teams/3023638/repos", - "permission": "pull" - }, - { - "name": "java11-support", - "id": 3049682, - "node_id": "MDQ6VGVhbTMwNDk2ODI=", - "slug": "java11-support", - "description": "Java 11 Support Team (JEP-211)", - "privacy": "closed", - "url": "https://api.github.com/teams/3049682", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support", - "members_url": "https://api.github.com/teams/3049682/members{/member}", - "repositories_url": "https://api.github.com/teams/3049682/repos", - "permission": "pull" - }, - { - "name": "java11-support-reviewer", - "id": 3049687, - "node_id": "MDQ6VGVhbTMwNDk2ODc=", - "slug": "java11-support-reviewer", - "description": "This team represents every contributors with reviewers permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/3049687", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support-reviewer", - "members_url": "https://api.github.com/teams/3049687/members{/member}", - "repositories_url": "https://api.github.com/teams/3049687/repos", - "permission": "pull" - }, - { - "name": "java11-support-maintainer", - "id": 3049911, - "node_id": "MDQ6VGVhbTMwNDk5MTE=", - "slug": "java11-support-maintainer", - "description": "This team represents every java11 contributors with write permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/3049911", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support-maintainer", - "members_url": "https://api.github.com/teams/3049911/members{/member}", - "repositories_url": "https://api.github.com/teams/3049911/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 3434214, - "node_id": "MDQ6VGVhbTM0MzQyMTQ=", - "slug": "docker", - "description": "This team represents everybody interested to review jenkins infrastructure docker images ", - "privacy": "closed", - "url": "https://api.github.com/teams/3434214", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docker", - "members_url": "https://api.github.com/teams/3434214/members{/member}", - "repositories_url": "https://api.github.com/teams/3434214/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-65.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-65.json deleted file mode 100644 index 54b8b4040d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkins-infra_teams-65.json +++ /dev/null @@ -1,249 +0,0 @@ -[ - { - "name": "tools", - "id": 1878034, - "node_id": "MDQ6VGVhbTE4NzgwMzQ=", - "slug": "tools", - "description": "Contributors responsible for internal tooling", - "privacy": "closed", - "url": "https://api.github.com/teams/1878034", - "html_url": "https://github.com/orgs/jenkins-infra/teams/tools", - "members_url": "https://api.github.com/teams/1878034/members{/member}", - "repositories_url": "https://api.github.com/teams/1878034/repos", - "permission": "pull" - }, - { - "name": "Copy Editors", - "id": 1882929, - "node_id": "MDQ6VGVhbTE4ODI5Mjk=", - "slug": "copy-editors", - "description": "Team of contributors who can act as reviewers and editors for content", - "privacy": "closed", - "url": "https://api.github.com/teams/1882929", - "html_url": "https://github.com/orgs/jenkins-infra/teams/copy-editors", - "members_url": "https://api.github.com/teams/1882929/members{/member}", - "repositories_url": "https://api.github.com/teams/1882929/repos", - "permission": "pull" - }, - { - "name": "frontenders", - "id": 1976871, - "node_id": "MDQ6VGVhbTE5NzY4NzE=", - "slug": "frontenders", - "description": "People who are adept at reviewing CSS/JS code", - "privacy": "closed", - "url": "https://api.github.com/teams/1976871", - "html_url": "https://github.com/orgs/jenkins-infra/teams/frontenders", - "members_url": "https://api.github.com/teams/1976871/members{/member}", - "repositories_url": "https://api.github.com/teams/1976871/repos", - "permission": "pull" - }, - { - "name": "Oncall", - "id": 2006380, - "node_id": "MDQ6VGVhbTIwMDYzODA=", - "slug": "oncall", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2006380", - "html_url": "https://github.com/orgs/jenkins-infra/teams/oncall", - "members_url": "https://api.github.com/teams/2006380/members{/member}", - "repositories_url": "https://api.github.com/teams/2006380/repos", - "permission": "pull" - }, - { - "name": "plugin-site", - "id": 2175393, - "node_id": "MDQ6VGVhbTIxNzUzOTM=", - "slug": "plugin-site", - "description": "Developers of the plugin site", - "privacy": "closed", - "url": "https://api.github.com/teams/2175393", - "html_url": "https://github.com/orgs/jenkins-infra/teams/plugin-site", - "members_url": "https://api.github.com/teams/2175393/members{/member}", - "repositories_url": "https://api.github.com/teams/2175393/repos", - "permission": "pull" - }, - { - "name": "docs", - "id": 2188150, - "node_id": "MDQ6VGVhbTIxODgxNTA=", - "slug": "docs", - "description": "Documentation team", - "privacy": "closed", - "url": "https://api.github.com/teams/2188150", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docs", - "members_url": "https://api.github.com/teams/2188150/members{/member}", - "repositories_url": "https://api.github.com/teams/2188150/repos", - "permission": "pull" - }, - { - "name": "azure", - "id": 2216148, - "node_id": "MDQ6VGVhbTIyMTYxNDg=", - "slug": "azure", - "description": "Contributors helping migrate to Azure", - "privacy": "closed", - "url": "https://api.github.com/teams/2216148", - "html_url": "https://github.com/orgs/jenkins-infra/teams/azure", - "members_url": "https://api.github.com/teams/2216148/members{/member}", - "repositories_url": "https://api.github.com/teams/2216148/repos", - "permission": "pull" - }, - { - "name": "site-authors", - "id": 2278154, - "node_id": "MDQ6VGVhbTIyNzgxNTQ=", - "slug": "site-authors", - "description": "Collection of people who work on or write portions of jenkins.io", - "privacy": "closed", - "url": "https://api.github.com/teams/2278154", - "html_url": "https://github.com/orgs/jenkins-infra/teams/site-authors", - "members_url": "https://api.github.com/teams/2278154/members{/member}", - "repositories_url": "https://api.github.com/teams/2278154/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2510135, - "node_id": "MDQ6VGVhbTI1MTAxMzU=", - "slug": "hacktoberfest", - "description": "Jenkins Hacktoberfest Team (reviewers and organizers)", - "privacy": "closed", - "url": "https://api.github.com/teams/2510135", - "html_url": "https://github.com/orgs/jenkins-infra/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2510135/members{/member}", - "repositories_url": "https://api.github.com/teams/2510135/repos", - "permission": "pull" - }, - { - "name": "cn.jenkins.io", - "id": 2658933, - "node_id": "MDQ6VGVhbTI2NTg5MzM=", - "slug": "cn-jenkins-io", - "description": "People who work on Chinese website", - "privacy": "closed", - "url": "https://api.github.com/teams/2658933", - "html_url": "https://github.com/orgs/jenkins-infra/teams/cn-jenkins-io", - "members_url": "https://api.github.com/teams/2658933/members{/member}", - "repositories_url": "https://api.github.com/teams/2658933/repos", - "permission": "pull" - }, - { - "name": "team-evergreen", - "id": 2670699, - "node_id": "MDQ6VGVhbTI2NzA2OTk=", - "slug": "team-evergreen", - "description": "Team responsible for Jenkins Evergreen distribution system", - "privacy": "closed", - "url": "https://api.github.com/teams/2670699", - "html_url": "https://github.com/orgs/jenkins-infra/teams/team-evergreen", - "members_url": "https://api.github.com/teams/2670699/members{/member}", - "repositories_url": "https://api.github.com/teams/2670699/repos", - "permission": "pull" - }, - { - "name": "ci-maintainers", - "id": 2744724, - "node_id": "MDQ6VGVhbTI3NDQ3MjQ=", - "slug": "ci-maintainers", - "description": "Folks responsible for maintaining ci/cd infrastructure.", - "privacy": "closed", - "url": "https://api.github.com/teams/2744724", - "html_url": "https://github.com/orgs/jenkins-infra/teams/ci-maintainers", - "members_url": "https://api.github.com/teams/2744724/members{/member}", - "repositories_url": "https://api.github.com/teams/2744724/repos", - "permission": "pull" - }, - { - "name": "chinese-localization-sig", - "id": 2970826, - "node_id": "MDQ6VGVhbTI5NzA4MjY=", - "slug": "chinese-localization-sig", - "description": "This team represents main chinese-localization-sig contributors. By default they have github 'read' permission.", - "privacy": "closed", - "url": "https://api.github.com/teams/2970826", - "html_url": "https://github.com/orgs/jenkins-infra/teams/chinese-localization-sig", - "members_url": "https://api.github.com/teams/2970826/members{/member}", - "repositories_url": "https://api.github.com/teams/2970826/repos", - "permission": "pull" - }, - { - "name": "gsoc", - "id": 3017249, - "node_id": "MDQ6VGVhbTMwMTcyNDk=", - "slug": "gsoc", - "description": "Google Summer of Code coordinators", - "privacy": "closed", - "url": "https://api.github.com/teams/3017249", - "html_url": "https://github.com/orgs/jenkins-infra/teams/gsoc", - "members_url": "https://api.github.com/teams/3017249/members{/member}", - "repositories_url": "https://api.github.com/teams/3017249/repos", - "permission": "pull" - }, - { - "name": "monitoring", - "id": 3023638, - "node_id": "MDQ6VGVhbTMwMjM2Mzg=", - "slug": "monitoring", - "description": "Jenkins Infrastructure Monitoring", - "privacy": "closed", - "url": "https://api.github.com/teams/3023638", - "html_url": "https://github.com/orgs/jenkins-infra/teams/monitoring", - "members_url": "https://api.github.com/teams/3023638/members{/member}", - "repositories_url": "https://api.github.com/teams/3023638/repos", - "permission": "pull" - }, - { - "name": "java11-support", - "id": 3049682, - "node_id": "MDQ6VGVhbTMwNDk2ODI=", - "slug": "java11-support", - "description": "Java 11 Support Team (JEP-211)", - "privacy": "closed", - "url": "https://api.github.com/teams/3049682", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support", - "members_url": "https://api.github.com/teams/3049682/members{/member}", - "repositories_url": "https://api.github.com/teams/3049682/repos", - "permission": "pull" - }, - { - "name": "java11-support-reviewer", - "id": 3049687, - "node_id": "MDQ6VGVhbTMwNDk2ODc=", - "slug": "java11-support-reviewer", - "description": "This team represents every contributors with reviewers permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/3049687", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support-reviewer", - "members_url": "https://api.github.com/teams/3049687/members{/member}", - "repositories_url": "https://api.github.com/teams/3049687/repos", - "permission": "pull" - }, - { - "name": "java11-support-maintainer", - "id": 3049911, - "node_id": "MDQ6VGVhbTMwNDk5MTE=", - "slug": "java11-support-maintainer", - "description": "This team represents every java11 contributors with write permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/3049911", - "html_url": "https://github.com/orgs/jenkins-infra/teams/java11-support-maintainer", - "members_url": "https://api.github.com/teams/3049911/members{/member}", - "repositories_url": "https://api.github.com/teams/3049911/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 3434214, - "node_id": "MDQ6VGVhbTM0MzQyMTQ=", - "slug": "docker", - "description": "This team represents everybody interested to review jenkins infrastructure docker images ", - "privacy": "closed", - "url": "https://api.github.com/teams/3434214", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docker", - "members_url": "https://api.github.com/teams/3434214/members{/member}", - "repositories_url": "https://api.github.com/teams/3434214/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci-3.json deleted file mode 100644 index 4ebe57eec6..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci-3.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", - "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", - "is_verified": false, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2192, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", - "type": "Organization", - "total_private_repos": 0, - "owned_private_repos": 0, - "private_gists": null, - "disk_usage": null, - "collaborators": null, - "billing_email": null, - "default_repository_permission": null, - "members_can_create_repositories": false, - "two_factor_requirement_enabled": null, - "plan": { - "name": "free", - "space": 976562499, - "private_repos": 0, - "filled_seats": 2052, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-10.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-10.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-13.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-13.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-15.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-15.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-15.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-17.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-17.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-17.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-19.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-19.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-19.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-22.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-22.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-22.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-25.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-25.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-25.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-28.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-28.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-28.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-4.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-4.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-6.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-6.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-8.json deleted file mode 100644 index 1d8d4c56aa..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_jenkinsci_teams-8.json +++ /dev/null @@ -1,392 +0,0 @@ -[ - { - "name": "Core", - "id": 25280, - "node_id": "MDQ6VGVhbTI1Mjgw", - "slug": "core", - "description": "Group of Jenkins core contributors with Merge permissions", - "privacy": "closed", - "url": "https://api.github.com/teams/25280", - "html_url": "https://github.com/orgs/jenkinsci/teams/core", - "members_url": "https://api.github.com/teams/25280/members{/member}", - "repositories_url": "https://api.github.com/teams/25280/repos", - "permission": "pull" - }, - { - "name": "ghprb-plugin Developers", - "id": 239968, - "node_id": "MDQ6VGVhbTIzOTk2OA==", - "slug": "ghprb-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/239968", - "html_url": "https://github.com/orgs/jenkinsci/teams/ghprb-plugin-developers", - "members_url": "https://api.github.com/teams/239968/members{/member}", - "repositories_url": "https://api.github.com/teams/239968/repos", - "permission": "pull" - }, - { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull" - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull" - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", - "permission": "pull" - }, - { - "name": "Code Reviewers", - "id": 1885543, - "node_id": "MDQ6VGVhbTE4ODU1NDM=", - "slug": "code-reviewers", - "description": "Volunteers who review code in core or any plugin hosted in the jenkinsci organization when requested – used for notifications only, no associated repos.", - "privacy": "closed", - "url": "https://api.github.com/teams/1885543", - "html_url": "https://github.com/orgs/jenkinsci/teams/code-reviewers", - "members_url": "https://api.github.com/teams/1885543/members{/member}", - "repositories_url": "https://api.github.com/teams/1885543/repos", - "permission": "pull" - }, - { - "name": "Translators", - "id": 1900343, - "node_id": "MDQ6VGVhbTE5MDAzNDM=", - "slug": "translators", - "description": "Volunteers contributing to localization of Jenkins and plugins. Mention this team whever you add or change localizable resources.", - "privacy": "closed", - "url": "https://api.github.com/teams/1900343", - "html_url": "https://github.com/orgs/jenkinsci/teams/translators", - "members_url": "https://api.github.com/teams/1900343/members{/member}", - "repositories_url": "https://api.github.com/teams/1900343/repos", - "permission": "pull" - }, - { - "name": "one-shot-executor-plugin", - "id": 1946159, - "node_id": "MDQ6VGVhbTE5NDYxNTk=", - "slug": "one-shot-executor-plugin", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1946159", - "html_url": "https://github.com/orgs/jenkinsci/teams/one-shot-executor-plugin", - "members_url": "https://api.github.com/teams/1946159/members{/member}", - "repositories_url": "https://api.github.com/teams/1946159/repos", - "permission": "pull" - }, - { - "name": "cloud-stats-plugin Developers", - "id": 1972502, - "node_id": "MDQ6VGVhbTE5NzI1MDI=", - "slug": "cloud-stats-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1972502", - "html_url": "https://github.com/orgs/jenkinsci/teams/cloud-stats-plugin-developers", - "members_url": "https://api.github.com/teams/1972502/members{/member}", - "repositories_url": "https://api.github.com/teams/1972502/repos", - "permission": "pull" - }, - { - "name": "workflow-step-api-plugin Developers", - "id": 1986665, - "node_id": "MDQ6VGVhbTE5ODY2NjU=", - "slug": "workflow-step-api-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/1986665", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-step-api-plugin-developers", - "members_url": "https://api.github.com/teams/1986665/members{/member}", - "repositories_url": "https://api.github.com/teams/1986665/repos", - "permission": "pull" - }, - { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", - "permission": "pull" - }, - { - "name": "GSoC 2016 Org Admins", - "id": 2030027, - "node_id": "MDQ6VGVhbTIwMzAwMjc=", - "slug": "gsoc-2016-org-admins", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2030027", - "html_url": "https://github.com/orgs/jenkinsci/teams/gsoc-2016-org-admins", - "members_url": "https://api.github.com/teams/2030027/members{/member}", - "repositories_url": "https://api.github.com/teams/2030027/repos", - "permission": "pull" - }, - { - "name": "board", - "id": 2063624, - "node_id": "MDQ6VGVhbTIwNjM2MjQ=", - "slug": "board", - "description": "Jenkins governance board", - "privacy": "closed", - "url": "https://api.github.com/teams/2063624", - "html_url": "https://github.com/orgs/jenkinsci/teams/board", - "members_url": "https://api.github.com/teams/2063624/members{/member}", - "repositories_url": "https://api.github.com/teams/2063624/repos", - "permission": "pull" - }, - { - "name": "docker", - "id": 2097811, - "node_id": "MDQ6VGVhbTIwOTc4MTE=", - "slug": "docker", - "description": "Official Docker image maintainers", - "privacy": "closed", - "url": "https://api.github.com/teams/2097811", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker", - "members_url": "https://api.github.com/teams/2097811/members{/member}", - "repositories_url": "https://api.github.com/teams/2097811/repos", - "permission": "pull" - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull" - }, - { - "name": "zanata plugin", - "id": 2250908, - "node_id": "MDQ6VGVhbTIyNTA5MDg=", - "slug": "zanata-plugin", - "description": "zanata.org", - "privacy": "closed", - "url": "https://api.github.com/teams/2250908", - "html_url": "https://github.com/orgs/jenkinsci/teams/zanata-plugin", - "members_url": "https://api.github.com/teams/2250908/members{/member}", - "repositories_url": "https://api.github.com/teams/2250908/repos", - "permission": "pull" - }, - { - "name": "docker-packaging-team", - "id": 2277925, - "node_id": "MDQ6VGVhbTIyNzc5MjU=", - "slug": "docker-packaging-team", - "description": "Docker Packaging Team", - "privacy": "closed", - "url": "https://api.github.com/teams/2277925", - "html_url": "https://github.com/orgs/jenkinsci/teams/docker-packaging-team", - "members_url": "https://api.github.com/teams/2277925/members{/member}", - "repositories_url": "https://api.github.com/teams/2277925/repos", - "permission": "pull" - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull" - }, - { - "name": "Connectors", - "id": 2449807, - "node_id": "MDQ6VGVhbTI0NDk4MDc=", - "slug": "connectors", - "description": "The team to look into office 365 connector", - "privacy": "closed", - "url": "https://api.github.com/teams/2449807", - "html_url": "https://github.com/orgs/jenkinsci/teams/connectors", - "members_url": "https://api.github.com/teams/2449807/members{/member}", - "repositories_url": "https://api.github.com/teams/2449807/repos", - "permission": "pull" - }, - { - "name": "sentry-plugin-team Developers", - "id": 2465032, - "node_id": "MDQ6VGVhbTI0NjUwMzI=", - "slug": "sentry-plugin-team-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2465032", - "html_url": "https://github.com/orgs/jenkinsci/teams/sentry-plugin-team-developers", - "members_url": "https://api.github.com/teams/2465032/members{/member}", - "repositories_url": "https://api.github.com/teams/2465032/repos", - "permission": "pull" - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull" - }, - { - "name": "compuware-common-configuration-plugin Developers", - "id": 2491391, - "node_id": "MDQ6VGVhbTI0OTEzOTE=", - "slug": "compuware-common-configuration-plugin-developers", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2491391", - "html_url": "https://github.com/orgs/jenkinsci/teams/compuware-common-configuration-plugin-developers", - "members_url": "https://api.github.com/teams/2491391/members{/member}", - "repositories_url": "https://api.github.com/teams/2491391/repos", - "permission": "pull" - }, - { - "name": "pipeline-unit Developers", - "id": 2507119, - "node_id": "MDQ6VGVhbTI1MDcxMTk=", - "slug": "pipeline-unit-developers", - "description": "Pipeline Unit Developers", - "privacy": "closed", - "url": "https://api.github.com/teams/2507119", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-unit-developers", - "members_url": "https://api.github.com/teams/2507119/members{/member}", - "repositories_url": "https://api.github.com/teams/2507119/repos", - "permission": "pull" - }, - { - "name": "hacktoberfest", - "id": 2509105, - "node_id": "MDQ6VGVhbTI1MDkxMDU=", - "slug": "hacktoberfest", - "description": "Hacktoberfest Support Team (ping for code reviews, etc.)", - "privacy": "closed", - "url": "https://api.github.com/teams/2509105", - "html_url": "https://github.com/orgs/jenkinsci/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2509105/members{/member}", - "repositories_url": "https://api.github.com/teams/2509105/repos", - "permission": "pull" - }, - { - "name": "elastest-plugin ci", - "id": 2643393, - "node_id": "MDQ6VGVhbTI2NDMzOTM=", - "slug": "elastest-plugin-ci", - "description": "Team for the user elastestci.", - "privacy": "closed", - "url": "https://api.github.com/teams/2643393", - "html_url": "https://github.com/orgs/jenkinsci/teams/elastest-plugin-ci", - "members_url": "https://api.github.com/teams/2643393/members{/member}", - "repositories_url": "https://api.github.com/teams/2643393/repos", - "permission": "pull" - }, - { - "name": "ISPW Operations Plugin Team", - "id": 2679176, - "node_id": "MDQ6VGVhbTI2NzkxNzY=", - "slug": "ispw-operations-plugin-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2679176", - "html_url": "https://github.com/orgs/jenkinsci/teams/ispw-operations-plugin-team", - "members_url": "https://api.github.com/teams/2679176/members{/member}", - "repositories_url": "https://api.github.com/teams/2679176/repos", - "permission": "pull" - }, - { - "name": "git-changelog-plugin contributors", - "id": 2733849, - "node_id": "MDQ6VGVhbTI3MzM4NDk=", - "slug": "git-changelog-plugin-contributors", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2733849", - "html_url": "https://github.com/orgs/jenkinsci/teams/git-changelog-plugin-contributors", - "members_url": "https://api.github.com/teams/2733849/members{/member}", - "repositories_url": "https://api.github.com/teams/2733849/repos", - "permission": "pull" - }, - { - "name": "fireline-dev", - "id": 2776183, - "node_id": "MDQ6VGVhbTI3NzYxODM=", - "slug": "fireline-dev", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2776183", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-dev", - "members_url": "https://api.github.com/teams/2776183/members{/member}", - "repositories_url": "https://api.github.com/teams/2776183/repos", - "permission": "pull" - }, - { - "name": "fireline-plugin-jenkins-team", - "id": 2777910, - "node_id": "MDQ6VGVhbTI3Nzc5MTA=", - "slug": "fireline-plugin-jenkins-team", - "description": "", - "privacy": "closed", - "url": "https://api.github.com/teams/2777910", - "html_url": "https://github.com/orgs/jenkinsci/teams/fireline-plugin-jenkins-team", - "members_url": "https://api.github.com/teams/2777910/members{/member}", - "repositories_url": "https://api.github.com/teams/2777910/repos", - "permission": "pull" - }, - { - "name": "SIG Platform", - "id": 2796281, - "node_id": "MDQ6VGVhbTI3OTYyODE=", - "slug": "sig-platform", - "description": "Platform SIG: Java 11 support, OS support and packaging", - "privacy": "closed", - "url": "https://api.github.com/teams/2796281", - "html_url": "https://github.com/orgs/jenkinsci/teams/sig-platform", - "members_url": "https://api.github.com/teams/2796281/members{/member}", - "repositories_url": "https://api.github.com/teams/2796281/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pole-numerique-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pole-numerique-3.json new file mode 100644 index 0000000000..411bb04524 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pole-numerique-3.json @@ -0,0 +1,55 @@ +{ + "login": "pole-numerique", + "id": 3957826, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM5NTc4MjY=", + "url": "https://api.github.com/orgs/pole-numerique", + "repos_url": "https://api.github.com/orgs/pole-numerique/repos", + "events_url": "https://api.github.com/orgs/pole-numerique/events", + "hooks_url": "https://api.github.com/orgs/pole-numerique/hooks", + "issues_url": "https://api.github.com/orgs/pole-numerique/issues", + "members_url": "https://api.github.com/orgs/pole-numerique/members{/member}", + "public_members_url": "https://api.github.com/orgs/pole-numerique/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/3957826?v=4", + "description": "", + "name": "Pôle Numérique", + "company": null, + "blog": null, + "location": "Valence (France)", + "email": "contact@ozwillo.org", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 0, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/pole-numerique", + "created_at": "2013-03-24T19:02:09Z", + "updated_at": "2016-06-26T05:58:54Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": null, + "disk_usage": null, + "collaborators": null, + "billing_email": null, + "default_repository_permission": null, + "members_can_create_repositories": false, + "two_factor_requirement_enabled": null, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 31, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pole-numerique_teams-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pole-numerique_teams-4.json new file mode 100644 index 0000000000..23c3bef75d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pole-numerique_teams-4.json @@ -0,0 +1,16 @@ +[ + { + "name": "openwide-jenkins", + "id": 584242, + "node_id": "MDQ6VGVhbTU4NDI0Mg==", + "slug": "openwide-jenkins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/3957826/team/584242", + "html_url": "https://github.com/orgs/pole-numerique/teams/openwide-jenkins", + "members_url": "https://api.github.com/organizations/3957826/team/584242/members{/member}", + "repositories_url": "https://api.github.com/organizations/3957826/team/584242/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pressgang-37.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pressgang-37.json new file mode 100644 index 0000000000..9e834f0481 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pressgang-37.json @@ -0,0 +1,55 @@ +{ + "login": "pressgang", + "id": 951365, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk1MTM2NQ==", + "url": "https://api.github.com/orgs/pressgang", + "repos_url": "https://api.github.com/orgs/pressgang/repos", + "events_url": "https://api.github.com/orgs/pressgang/events", + "hooks_url": "https://api.github.com/orgs/pressgang/hooks", + "issues_url": "https://api.github.com/orgs/pressgang/issues", + "members_url": "https://api.github.com/orgs/pressgang/members{/member}", + "public_members_url": "https://api.github.com/orgs/pressgang/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/951365?v=4", + "description": "PressGang is everything related to documentation tooling/writing for community projects.", + "name": "PressGang (JBoss)", + "company": null, + "blog": "http://www.jboss.org/pressgang", + "location": "Brisbane, Australia", + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 6, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/pressgang", + "created_at": "2011-08-01T09:38:51Z", + "updated_at": "2015-04-13T14:07:44Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": null, + "disk_usage": null, + "collaborators": null, + "billing_email": null, + "default_repository_permission": null, + "members_can_create_repositories": false, + "two_factor_requirement_enabled": null, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 8, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pressgang_teams-38.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pressgang_teams-38.json new file mode 100644 index 0000000000..a435b3ce83 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_pressgang_teams-38.json @@ -0,0 +1,16 @@ +[ + { + "name": "Committers", + "id": 106459, + "node_id": "MDQ6VGVhbTEwNjQ1OQ==", + "slug": "committers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/951365/team/106459", + "html_url": "https://github.com/orgs/pressgang/teams/committers", + "members_url": "https://api.github.com/organizations/951365/team/106459/members{/member}", + "repositories_url": "https://api.github.com/organizations/951365/team/106459/repos", + "permission": "push", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse-81.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse-81.json new file mode 100644 index 0000000000..5388ed84ce --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse-81.json @@ -0,0 +1,55 @@ +{ + "login": "quarkiverse", + "id": 69191779, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY5MTkxNzc5", + "url": "https://api.github.com/orgs/quarkiverse", + "repos_url": "https://api.github.com/orgs/quarkiverse/repos", + "events_url": "https://api.github.com/orgs/quarkiverse/events", + "hooks_url": "https://api.github.com/orgs/quarkiverse/hooks", + "issues_url": "https://api.github.com/orgs/quarkiverse/issues", + "members_url": "https://api.github.com/orgs/quarkiverse/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkiverse/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/69191779?v=4", + "description": "A place to host and build Quarkus extensions", + "name": "Quarkiverse Hub", + "company": null, + "blog": "https://github.com/quarkiverse/quarkiverse/wiki", + "location": null, + "email": "quarkus-dev@googlegroups.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 68, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/quarkiverse", + "created_at": "2020-08-04T08:31:31Z", + "updated_at": "2022-03-02T16:36:46Z", + "type": "Organization", + "total_private_repos": 0, + "owned_private_repos": 0, + "private_gists": 0, + "disk_usage": 35691, + "collaborators": 0, + "billing_email": "alexey.loubyansky@redhat.com", + "default_repository_permission": "read", + "members_can_create_repositories": true, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "all", + "members_can_create_public_repositories": true, + "members_can_create_private_repositories": true, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 60, + "seats": 3 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-82.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-82.json new file mode 100644 index 0000000000..03d83d8911 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-82.json @@ -0,0 +1,782 @@ +[ + { + "name": "quarkiverse-amazon-alexa", + "id": 5438751, + "node_id": "T_kwDOBB_IY84AUv0f", + "slug": "quarkiverse-amazon-alexa", + "description": "Quarkiverse team for the Amazon Alexa extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438751", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-alexa", + "members_url": "https://api.github.com/organizations/69191779/team/5438751/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438751/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-amazon-services", + "id": 5438747, + "node_id": "T_kwDOBB_IY84AUv0b", + "slug": "quarkiverse-amazon-services", + "description": "Quarkiverse team for the Amazon Services extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438747", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-services", + "members_url": "https://api.github.com/organizations/69191779/team/5438747/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438747/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-apicurio-registry-client", + "id": 4359832, + "node_id": "MDQ6VGVhbTQzNTk4MzI=", + "slug": "quarkiverse-apicurio-registry-client", + "description": "Quarkiverse team for the apicurio-registry-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4359832", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-apicurio-registry-client", + "members_url": "https://api.github.com/organizations/69191779/team/4359832/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4359832/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-artemis", + "id": 5438742, + "node_id": "T_kwDOBB_IY84AUv0W", + "slug": "quarkiverse-artemis", + "description": "Quarkiverse team for the Artemis extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438742", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-artemis", + "members_url": "https://api.github.com/organizations/69191779/team/5438742/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438742/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-config-extensions", + "id": 4679791, + "node_id": "MDQ6VGVhbTQ2Nzk3OTE=", + "slug": "quarkiverse-config-extensions", + "description": "Quarkiverse team for the config-extensions extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4679791", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-config-extensions", + "members_url": "https://api.github.com/organizations/69191779/team/4679791/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4679791/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cucumber", + "id": 5020733, + "node_id": "T_kwDOBB_IY84ATJw9", + "slug": "quarkiverse-cucumber", + "description": "Quarkiverse team for the Cucumber extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5020733", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cucumber", + "members_url": "https://api.github.com/organizations/69191779/team/5020733/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5020733/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cxf", + "id": 4221025, + "node_id": "MDQ6VGVhbTQyMjEwMjU=", + "slug": "quarkiverse-cxf", + "description": "Quarkiverse team for the CXF extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4221025", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cxf", + "members_url": "https://api.github.com/organizations/69191779/team/4221025/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4221025/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-datadog-opentracing", + "id": 4759562, + "node_id": "MDQ6VGVhbTQ3NTk1NjI=", + "slug": "quarkiverse-datadog-opentracing", + "description": "Quarkiverse team for the Datadog OpenTracing extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4759562", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-datadog-opentracing", + "members_url": "https://api.github.com/organizations/69191779/team/4759562/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4759562/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-doma", + "id": 4206574, + "node_id": "MDQ6VGVhbTQyMDY1NzQ=", + "slug": "quarkiverse-doma", + "description": "Quarkiverse team for the Doma extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4206574", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-doma", + "members_url": "https://api.github.com/organizations/69191779/team/4206574/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4206574/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-elasticsearch-reactive", + "id": 4941463, + "node_id": "MDQ6VGVhbTQ5NDE0NjM=", + "slug": "quarkiverse-elasticsearch-reactive", + "description": "Quarkiverse team for the elasticsearch-reactive extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4941463", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-elasticsearch-reactive", + "members_url": "https://api.github.com/organizations/69191779/team/4941463/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4941463/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-file-vault", + "id": 5713965, + "node_id": "T_kwDOBB_IY84AVzAt", + "slug": "quarkiverse-file-vault", + "description": "Quarkiverse file-vault team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5713965", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-file-vault", + "members_url": "https://api.github.com/organizations/69191779/team/5713965/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5713965/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-freemarker", + "id": 4139356, + "node_id": "MDQ6VGVhbTQxMzkzNTY=", + "slug": "quarkiverse-freemarker", + "description": "Quarkiverse team for the freemarker extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4139356", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-freemarker", + "members_url": "https://api.github.com/organizations/69191779/team/4139356/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4139356/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-api", + "id": 5327486, + "node_id": "T_kwDOBB_IY84AUUp-", + "slug": "quarkiverse-github-api", + "description": "Quarkiverse team for the GitHub API extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327486", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-api", + "members_url": "https://api.github.com/organizations/69191779/team/5327486/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327486/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-app", + "id": 5327479, + "node_id": "T_kwDOBB_IY84AUUp3", + "slug": "quarkiverse-github-app", + "description": "Quarkiverse team for the GitHub App extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327479", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-app", + "members_url": "https://api.github.com/organizations/69191779/team/5327479/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327479/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-google-cloud-services", + "id": 4133757, + "node_id": "MDQ6VGVhbTQxMzM3NTc=", + "slug": "quarkiverse-google-cloud-services", + "description": "Quarkiverse team for the Google Cloud Services extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4133757", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-google-cloud-services", + "members_url": "https://api.github.com/organizations/69191779/team/4133757/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4133757/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-helm", + "id": 5693931, + "node_id": "T_kwDOBB_IY84AVuHr", + "slug": "quarkiverse-helm", + "description": "Quarkiverse Helm team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5693931", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-helm", + "members_url": "https://api.github.com/organizations/69191779/team/5693931/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5693931/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate-search-extras", + "id": 5449102, + "node_id": "T_kwDOBB_IY84AUyWO", + "slug": "quarkiverse-hibernate-search-extras", + "description": "Quarkiverse team for the Hibernate Search Extras extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5449102", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate-search-extras", + "members_url": "https://api.github.com/organizations/69191779/team/5449102/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5449102/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate_types", + "id": 4427586, + "node_id": "MDQ6VGVhbTQ0Mjc1ODY=", + "slug": "quarkiverse-hibernate_types", + "description": "Quarkiverse team for the hibernate_types extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4427586", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate_types", + "members_url": "https://api.github.com/organizations/69191779/team/4427586/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4427586/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hivemq-client", + "id": 4651319, + "node_id": "MDQ6VGVhbTQ2NTEzMTk=", + "slug": "quarkiverse-hivemq-client", + "description": "Quarkiverse team for the hivemq_client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4651319", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hivemq-client", + "members_url": "https://api.github.com/organizations/69191779/team/4651319/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4651319/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jackson-jq", + "id": 5182252, + "node_id": "T_kwDOBB_IY84ATxMs", + "slug": "quarkiverse-jackson-jq", + "description": "Quarkiverse team for the Jackson JQ extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5182252", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jackson-jq", + "members_url": "https://api.github.com/organizations/69191779/team/5182252/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5182252/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jberet", + "id": 4130738, + "node_id": "MDQ6VGVhbTQxMzA3Mzg=", + "slug": "quarkiverse-jberet", + "description": "Quarkiverse team for the jberet extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4130738", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jberet", + "members_url": "https://api.github.com/organizations/69191779/team/4130738/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4130738/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgit", + "id": 5418782, + "node_id": "T_kwDOBB_IY84AUq8e", + "slug": "quarkiverse-jgit", + "description": "Quarkiverse team for the JGit extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418782", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgit", + "members_url": "https://api.github.com/organizations/69191779/team/5418782/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418782/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgrapht", + "id": 4691584, + "node_id": "MDQ6VGVhbTQ2OTE1ODQ=", + "slug": "quarkiverse-jgrapht", + "description": "Quarkiverse team for the JGrapht extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4691584", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgrapht", + "members_url": "https://api.github.com/organizations/69191779/team/4691584/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4691584/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jjwt-jackson", + "id": 4698127, + "node_id": "MDQ6VGVhbTQ2OTgxMjc=", + "slug": "quarkiverse-jjwt-jackson", + "description": "Quarkiverse team for the jjwt-jackson extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4698127", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jjwt-jackson", + "members_url": "https://api.github.com/organizations/69191779/team/4698127/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4698127/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jna", + "id": 4257639, + "node_id": "MDQ6VGVhbTQyNTc2Mzk=", + "slug": "quarkiverse-jna", + "description": "Quarkiverse team for the jna extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4257639", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jna", + "members_url": "https://api.github.com/organizations/69191779/team/4257639/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4257639/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jooq", + "id": 4499064, + "node_id": "MDQ6VGVhbTQ0OTkwNjQ=", + "slug": "quarkiverse-jooq", + "description": "Quarkiverse team for the jooq extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4499064", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jooq", + "members_url": "https://api.github.com/organizations/69191779/team/4499064/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4499064/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jsch", + "id": 5418783, + "node_id": "T_kwDOBB_IY84AUq8f", + "slug": "quarkiverse-jsch", + "description": "Quarkiverse team for the JSch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418783", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jsch", + "members_url": "https://api.github.com/organizations/69191779/team/5418783/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418783/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-kerberos", + "id": 5330599, + "node_id": "T_kwDOBB_IY84AUVan", + "slug": "quarkiverse-kerberos", + "description": "Quarkiverse team for the kerberos extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330599", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-kerberos", + "members_url": "https://api.github.com/organizations/69191779/team/5330599/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330599/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-cloudwatch", + "id": 4766806, + "node_id": "MDQ6VGVhbTQ3NjY4MDY=", + "slug": "quarkiverse-logging-cloudwatch", + "description": "Quarkiverse team for the logging-cloudwatch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4766806", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-cloudwatch", + "members_url": "https://api.github.com/organizations/69191779/team/4766806/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4766806/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-json", + "id": 4136031, + "node_id": "MDQ6VGVhbTQxMzYwMzE=", + "slug": "quarkiverse-logging-json", + "description": "Quarkiverse team for the logging-json extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4136031", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-json", + "members_url": "https://api.github.com/organizations/69191779/team/4136031/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4136031/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-85.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-85.json new file mode 100644 index 0000000000..03d83d8911 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-85.json @@ -0,0 +1,782 @@ +[ + { + "name": "quarkiverse-amazon-alexa", + "id": 5438751, + "node_id": "T_kwDOBB_IY84AUv0f", + "slug": "quarkiverse-amazon-alexa", + "description": "Quarkiverse team for the Amazon Alexa extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438751", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-alexa", + "members_url": "https://api.github.com/organizations/69191779/team/5438751/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438751/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-amazon-services", + "id": 5438747, + "node_id": "T_kwDOBB_IY84AUv0b", + "slug": "quarkiverse-amazon-services", + "description": "Quarkiverse team for the Amazon Services extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438747", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-services", + "members_url": "https://api.github.com/organizations/69191779/team/5438747/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438747/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-apicurio-registry-client", + "id": 4359832, + "node_id": "MDQ6VGVhbTQzNTk4MzI=", + "slug": "quarkiverse-apicurio-registry-client", + "description": "Quarkiverse team for the apicurio-registry-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4359832", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-apicurio-registry-client", + "members_url": "https://api.github.com/organizations/69191779/team/4359832/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4359832/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-artemis", + "id": 5438742, + "node_id": "T_kwDOBB_IY84AUv0W", + "slug": "quarkiverse-artemis", + "description": "Quarkiverse team for the Artemis extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438742", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-artemis", + "members_url": "https://api.github.com/organizations/69191779/team/5438742/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438742/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-config-extensions", + "id": 4679791, + "node_id": "MDQ6VGVhbTQ2Nzk3OTE=", + "slug": "quarkiverse-config-extensions", + "description": "Quarkiverse team for the config-extensions extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4679791", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-config-extensions", + "members_url": "https://api.github.com/organizations/69191779/team/4679791/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4679791/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cucumber", + "id": 5020733, + "node_id": "T_kwDOBB_IY84ATJw9", + "slug": "quarkiverse-cucumber", + "description": "Quarkiverse team for the Cucumber extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5020733", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cucumber", + "members_url": "https://api.github.com/organizations/69191779/team/5020733/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5020733/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cxf", + "id": 4221025, + "node_id": "MDQ6VGVhbTQyMjEwMjU=", + "slug": "quarkiverse-cxf", + "description": "Quarkiverse team for the CXF extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4221025", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cxf", + "members_url": "https://api.github.com/organizations/69191779/team/4221025/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4221025/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-datadog-opentracing", + "id": 4759562, + "node_id": "MDQ6VGVhbTQ3NTk1NjI=", + "slug": "quarkiverse-datadog-opentracing", + "description": "Quarkiverse team for the Datadog OpenTracing extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4759562", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-datadog-opentracing", + "members_url": "https://api.github.com/organizations/69191779/team/4759562/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4759562/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-doma", + "id": 4206574, + "node_id": "MDQ6VGVhbTQyMDY1NzQ=", + "slug": "quarkiverse-doma", + "description": "Quarkiverse team for the Doma extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4206574", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-doma", + "members_url": "https://api.github.com/organizations/69191779/team/4206574/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4206574/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-elasticsearch-reactive", + "id": 4941463, + "node_id": "MDQ6VGVhbTQ5NDE0NjM=", + "slug": "quarkiverse-elasticsearch-reactive", + "description": "Quarkiverse team for the elasticsearch-reactive extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4941463", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-elasticsearch-reactive", + "members_url": "https://api.github.com/organizations/69191779/team/4941463/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4941463/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-file-vault", + "id": 5713965, + "node_id": "T_kwDOBB_IY84AVzAt", + "slug": "quarkiverse-file-vault", + "description": "Quarkiverse file-vault team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5713965", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-file-vault", + "members_url": "https://api.github.com/organizations/69191779/team/5713965/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5713965/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-freemarker", + "id": 4139356, + "node_id": "MDQ6VGVhbTQxMzkzNTY=", + "slug": "quarkiverse-freemarker", + "description": "Quarkiverse team for the freemarker extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4139356", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-freemarker", + "members_url": "https://api.github.com/organizations/69191779/team/4139356/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4139356/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-api", + "id": 5327486, + "node_id": "T_kwDOBB_IY84AUUp-", + "slug": "quarkiverse-github-api", + "description": "Quarkiverse team for the GitHub API extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327486", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-api", + "members_url": "https://api.github.com/organizations/69191779/team/5327486/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327486/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-app", + "id": 5327479, + "node_id": "T_kwDOBB_IY84AUUp3", + "slug": "quarkiverse-github-app", + "description": "Quarkiverse team for the GitHub App extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327479", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-app", + "members_url": "https://api.github.com/organizations/69191779/team/5327479/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327479/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-google-cloud-services", + "id": 4133757, + "node_id": "MDQ6VGVhbTQxMzM3NTc=", + "slug": "quarkiverse-google-cloud-services", + "description": "Quarkiverse team for the Google Cloud Services extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4133757", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-google-cloud-services", + "members_url": "https://api.github.com/organizations/69191779/team/4133757/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4133757/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-helm", + "id": 5693931, + "node_id": "T_kwDOBB_IY84AVuHr", + "slug": "quarkiverse-helm", + "description": "Quarkiverse Helm team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5693931", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-helm", + "members_url": "https://api.github.com/organizations/69191779/team/5693931/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5693931/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate-search-extras", + "id": 5449102, + "node_id": "T_kwDOBB_IY84AUyWO", + "slug": "quarkiverse-hibernate-search-extras", + "description": "Quarkiverse team for the Hibernate Search Extras extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5449102", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate-search-extras", + "members_url": "https://api.github.com/organizations/69191779/team/5449102/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5449102/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate_types", + "id": 4427586, + "node_id": "MDQ6VGVhbTQ0Mjc1ODY=", + "slug": "quarkiverse-hibernate_types", + "description": "Quarkiverse team for the hibernate_types extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4427586", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate_types", + "members_url": "https://api.github.com/organizations/69191779/team/4427586/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4427586/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hivemq-client", + "id": 4651319, + "node_id": "MDQ6VGVhbTQ2NTEzMTk=", + "slug": "quarkiverse-hivemq-client", + "description": "Quarkiverse team for the hivemq_client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4651319", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hivemq-client", + "members_url": "https://api.github.com/organizations/69191779/team/4651319/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4651319/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jackson-jq", + "id": 5182252, + "node_id": "T_kwDOBB_IY84ATxMs", + "slug": "quarkiverse-jackson-jq", + "description": "Quarkiverse team for the Jackson JQ extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5182252", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jackson-jq", + "members_url": "https://api.github.com/organizations/69191779/team/5182252/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5182252/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jberet", + "id": 4130738, + "node_id": "MDQ6VGVhbTQxMzA3Mzg=", + "slug": "quarkiverse-jberet", + "description": "Quarkiverse team for the jberet extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4130738", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jberet", + "members_url": "https://api.github.com/organizations/69191779/team/4130738/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4130738/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgit", + "id": 5418782, + "node_id": "T_kwDOBB_IY84AUq8e", + "slug": "quarkiverse-jgit", + "description": "Quarkiverse team for the JGit extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418782", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgit", + "members_url": "https://api.github.com/organizations/69191779/team/5418782/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418782/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgrapht", + "id": 4691584, + "node_id": "MDQ6VGVhbTQ2OTE1ODQ=", + "slug": "quarkiverse-jgrapht", + "description": "Quarkiverse team for the JGrapht extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4691584", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgrapht", + "members_url": "https://api.github.com/organizations/69191779/team/4691584/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4691584/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jjwt-jackson", + "id": 4698127, + "node_id": "MDQ6VGVhbTQ2OTgxMjc=", + "slug": "quarkiverse-jjwt-jackson", + "description": "Quarkiverse team for the jjwt-jackson extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4698127", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jjwt-jackson", + "members_url": "https://api.github.com/organizations/69191779/team/4698127/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4698127/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jna", + "id": 4257639, + "node_id": "MDQ6VGVhbTQyNTc2Mzk=", + "slug": "quarkiverse-jna", + "description": "Quarkiverse team for the jna extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4257639", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jna", + "members_url": "https://api.github.com/organizations/69191779/team/4257639/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4257639/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jooq", + "id": 4499064, + "node_id": "MDQ6VGVhbTQ0OTkwNjQ=", + "slug": "quarkiverse-jooq", + "description": "Quarkiverse team for the jooq extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4499064", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jooq", + "members_url": "https://api.github.com/organizations/69191779/team/4499064/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4499064/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jsch", + "id": 5418783, + "node_id": "T_kwDOBB_IY84AUq8f", + "slug": "quarkiverse-jsch", + "description": "Quarkiverse team for the JSch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418783", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jsch", + "members_url": "https://api.github.com/organizations/69191779/team/5418783/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418783/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-kerberos", + "id": 5330599, + "node_id": "T_kwDOBB_IY84AUVan", + "slug": "quarkiverse-kerberos", + "description": "Quarkiverse team for the kerberos extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330599", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-kerberos", + "members_url": "https://api.github.com/organizations/69191779/team/5330599/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330599/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-cloudwatch", + "id": 4766806, + "node_id": "MDQ6VGVhbTQ3NjY4MDY=", + "slug": "quarkiverse-logging-cloudwatch", + "description": "Quarkiverse team for the logging-cloudwatch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4766806", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-cloudwatch", + "members_url": "https://api.github.com/organizations/69191779/team/4766806/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4766806/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-json", + "id": 4136031, + "node_id": "MDQ6VGVhbTQxMzYwMzE=", + "slug": "quarkiverse-logging-json", + "description": "Quarkiverse team for the logging-json extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4136031", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-json", + "members_url": "https://api.github.com/organizations/69191779/team/4136031/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4136031/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-87.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-87.json new file mode 100644 index 0000000000..03d83d8911 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-87.json @@ -0,0 +1,782 @@ +[ + { + "name": "quarkiverse-amazon-alexa", + "id": 5438751, + "node_id": "T_kwDOBB_IY84AUv0f", + "slug": "quarkiverse-amazon-alexa", + "description": "Quarkiverse team for the Amazon Alexa extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438751", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-alexa", + "members_url": "https://api.github.com/organizations/69191779/team/5438751/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438751/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-amazon-services", + "id": 5438747, + "node_id": "T_kwDOBB_IY84AUv0b", + "slug": "quarkiverse-amazon-services", + "description": "Quarkiverse team for the Amazon Services extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438747", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-services", + "members_url": "https://api.github.com/organizations/69191779/team/5438747/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438747/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-apicurio-registry-client", + "id": 4359832, + "node_id": "MDQ6VGVhbTQzNTk4MzI=", + "slug": "quarkiverse-apicurio-registry-client", + "description": "Quarkiverse team for the apicurio-registry-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4359832", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-apicurio-registry-client", + "members_url": "https://api.github.com/organizations/69191779/team/4359832/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4359832/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-artemis", + "id": 5438742, + "node_id": "T_kwDOBB_IY84AUv0W", + "slug": "quarkiverse-artemis", + "description": "Quarkiverse team for the Artemis extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438742", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-artemis", + "members_url": "https://api.github.com/organizations/69191779/team/5438742/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438742/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-config-extensions", + "id": 4679791, + "node_id": "MDQ6VGVhbTQ2Nzk3OTE=", + "slug": "quarkiverse-config-extensions", + "description": "Quarkiverse team for the config-extensions extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4679791", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-config-extensions", + "members_url": "https://api.github.com/organizations/69191779/team/4679791/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4679791/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cucumber", + "id": 5020733, + "node_id": "T_kwDOBB_IY84ATJw9", + "slug": "quarkiverse-cucumber", + "description": "Quarkiverse team for the Cucumber extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5020733", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cucumber", + "members_url": "https://api.github.com/organizations/69191779/team/5020733/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5020733/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cxf", + "id": 4221025, + "node_id": "MDQ6VGVhbTQyMjEwMjU=", + "slug": "quarkiverse-cxf", + "description": "Quarkiverse team for the CXF extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4221025", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cxf", + "members_url": "https://api.github.com/organizations/69191779/team/4221025/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4221025/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-datadog-opentracing", + "id": 4759562, + "node_id": "MDQ6VGVhbTQ3NTk1NjI=", + "slug": "quarkiverse-datadog-opentracing", + "description": "Quarkiverse team for the Datadog OpenTracing extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4759562", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-datadog-opentracing", + "members_url": "https://api.github.com/organizations/69191779/team/4759562/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4759562/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-doma", + "id": 4206574, + "node_id": "MDQ6VGVhbTQyMDY1NzQ=", + "slug": "quarkiverse-doma", + "description": "Quarkiverse team for the Doma extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4206574", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-doma", + "members_url": "https://api.github.com/organizations/69191779/team/4206574/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4206574/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-elasticsearch-reactive", + "id": 4941463, + "node_id": "MDQ6VGVhbTQ5NDE0NjM=", + "slug": "quarkiverse-elasticsearch-reactive", + "description": "Quarkiverse team for the elasticsearch-reactive extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4941463", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-elasticsearch-reactive", + "members_url": "https://api.github.com/organizations/69191779/team/4941463/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4941463/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-file-vault", + "id": 5713965, + "node_id": "T_kwDOBB_IY84AVzAt", + "slug": "quarkiverse-file-vault", + "description": "Quarkiverse file-vault team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5713965", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-file-vault", + "members_url": "https://api.github.com/organizations/69191779/team/5713965/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5713965/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-freemarker", + "id": 4139356, + "node_id": "MDQ6VGVhbTQxMzkzNTY=", + "slug": "quarkiverse-freemarker", + "description": "Quarkiverse team for the freemarker extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4139356", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-freemarker", + "members_url": "https://api.github.com/organizations/69191779/team/4139356/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4139356/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-api", + "id": 5327486, + "node_id": "T_kwDOBB_IY84AUUp-", + "slug": "quarkiverse-github-api", + "description": "Quarkiverse team for the GitHub API extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327486", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-api", + "members_url": "https://api.github.com/organizations/69191779/team/5327486/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327486/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-app", + "id": 5327479, + "node_id": "T_kwDOBB_IY84AUUp3", + "slug": "quarkiverse-github-app", + "description": "Quarkiverse team for the GitHub App extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327479", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-app", + "members_url": "https://api.github.com/organizations/69191779/team/5327479/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327479/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-google-cloud-services", + "id": 4133757, + "node_id": "MDQ6VGVhbTQxMzM3NTc=", + "slug": "quarkiverse-google-cloud-services", + "description": "Quarkiverse team for the Google Cloud Services extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4133757", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-google-cloud-services", + "members_url": "https://api.github.com/organizations/69191779/team/4133757/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4133757/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-helm", + "id": 5693931, + "node_id": "T_kwDOBB_IY84AVuHr", + "slug": "quarkiverse-helm", + "description": "Quarkiverse Helm team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5693931", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-helm", + "members_url": "https://api.github.com/organizations/69191779/team/5693931/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5693931/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate-search-extras", + "id": 5449102, + "node_id": "T_kwDOBB_IY84AUyWO", + "slug": "quarkiverse-hibernate-search-extras", + "description": "Quarkiverse team for the Hibernate Search Extras extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5449102", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate-search-extras", + "members_url": "https://api.github.com/organizations/69191779/team/5449102/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5449102/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate_types", + "id": 4427586, + "node_id": "MDQ6VGVhbTQ0Mjc1ODY=", + "slug": "quarkiverse-hibernate_types", + "description": "Quarkiverse team for the hibernate_types extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4427586", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate_types", + "members_url": "https://api.github.com/organizations/69191779/team/4427586/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4427586/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hivemq-client", + "id": 4651319, + "node_id": "MDQ6VGVhbTQ2NTEzMTk=", + "slug": "quarkiverse-hivemq-client", + "description": "Quarkiverse team for the hivemq_client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4651319", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hivemq-client", + "members_url": "https://api.github.com/organizations/69191779/team/4651319/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4651319/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jackson-jq", + "id": 5182252, + "node_id": "T_kwDOBB_IY84ATxMs", + "slug": "quarkiverse-jackson-jq", + "description": "Quarkiverse team for the Jackson JQ extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5182252", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jackson-jq", + "members_url": "https://api.github.com/organizations/69191779/team/5182252/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5182252/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jberet", + "id": 4130738, + "node_id": "MDQ6VGVhbTQxMzA3Mzg=", + "slug": "quarkiverse-jberet", + "description": "Quarkiverse team for the jberet extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4130738", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jberet", + "members_url": "https://api.github.com/organizations/69191779/team/4130738/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4130738/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgit", + "id": 5418782, + "node_id": "T_kwDOBB_IY84AUq8e", + "slug": "quarkiverse-jgit", + "description": "Quarkiverse team for the JGit extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418782", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgit", + "members_url": "https://api.github.com/organizations/69191779/team/5418782/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418782/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgrapht", + "id": 4691584, + "node_id": "MDQ6VGVhbTQ2OTE1ODQ=", + "slug": "quarkiverse-jgrapht", + "description": "Quarkiverse team for the JGrapht extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4691584", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgrapht", + "members_url": "https://api.github.com/organizations/69191779/team/4691584/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4691584/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jjwt-jackson", + "id": 4698127, + "node_id": "MDQ6VGVhbTQ2OTgxMjc=", + "slug": "quarkiverse-jjwt-jackson", + "description": "Quarkiverse team for the jjwt-jackson extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4698127", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jjwt-jackson", + "members_url": "https://api.github.com/organizations/69191779/team/4698127/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4698127/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jna", + "id": 4257639, + "node_id": "MDQ6VGVhbTQyNTc2Mzk=", + "slug": "quarkiverse-jna", + "description": "Quarkiverse team for the jna extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4257639", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jna", + "members_url": "https://api.github.com/organizations/69191779/team/4257639/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4257639/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jooq", + "id": 4499064, + "node_id": "MDQ6VGVhbTQ0OTkwNjQ=", + "slug": "quarkiverse-jooq", + "description": "Quarkiverse team for the jooq extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4499064", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jooq", + "members_url": "https://api.github.com/organizations/69191779/team/4499064/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4499064/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jsch", + "id": 5418783, + "node_id": "T_kwDOBB_IY84AUq8f", + "slug": "quarkiverse-jsch", + "description": "Quarkiverse team for the JSch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418783", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jsch", + "members_url": "https://api.github.com/organizations/69191779/team/5418783/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418783/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-kerberos", + "id": 5330599, + "node_id": "T_kwDOBB_IY84AUVan", + "slug": "quarkiverse-kerberos", + "description": "Quarkiverse team for the kerberos extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330599", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-kerberos", + "members_url": "https://api.github.com/organizations/69191779/team/5330599/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330599/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-cloudwatch", + "id": 4766806, + "node_id": "MDQ6VGVhbTQ3NjY4MDY=", + "slug": "quarkiverse-logging-cloudwatch", + "description": "Quarkiverse team for the logging-cloudwatch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4766806", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-cloudwatch", + "members_url": "https://api.github.com/organizations/69191779/team/4766806/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4766806/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-json", + "id": 4136031, + "node_id": "MDQ6VGVhbTQxMzYwMzE=", + "slug": "quarkiverse-logging-json", + "description": "Quarkiverse team for the logging-json extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4136031", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-json", + "members_url": "https://api.github.com/organizations/69191779/team/4136031/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4136031/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-89.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-89.json new file mode 100644 index 0000000000..03d83d8911 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-89.json @@ -0,0 +1,782 @@ +[ + { + "name": "quarkiverse-amazon-alexa", + "id": 5438751, + "node_id": "T_kwDOBB_IY84AUv0f", + "slug": "quarkiverse-amazon-alexa", + "description": "Quarkiverse team for the Amazon Alexa extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438751", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-alexa", + "members_url": "https://api.github.com/organizations/69191779/team/5438751/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438751/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-amazon-services", + "id": 5438747, + "node_id": "T_kwDOBB_IY84AUv0b", + "slug": "quarkiverse-amazon-services", + "description": "Quarkiverse team for the Amazon Services extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438747", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-services", + "members_url": "https://api.github.com/organizations/69191779/team/5438747/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438747/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-apicurio-registry-client", + "id": 4359832, + "node_id": "MDQ6VGVhbTQzNTk4MzI=", + "slug": "quarkiverse-apicurio-registry-client", + "description": "Quarkiverse team for the apicurio-registry-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4359832", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-apicurio-registry-client", + "members_url": "https://api.github.com/organizations/69191779/team/4359832/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4359832/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-artemis", + "id": 5438742, + "node_id": "T_kwDOBB_IY84AUv0W", + "slug": "quarkiverse-artemis", + "description": "Quarkiverse team for the Artemis extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438742", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-artemis", + "members_url": "https://api.github.com/organizations/69191779/team/5438742/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438742/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-config-extensions", + "id": 4679791, + "node_id": "MDQ6VGVhbTQ2Nzk3OTE=", + "slug": "quarkiverse-config-extensions", + "description": "Quarkiverse team for the config-extensions extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4679791", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-config-extensions", + "members_url": "https://api.github.com/organizations/69191779/team/4679791/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4679791/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cucumber", + "id": 5020733, + "node_id": "T_kwDOBB_IY84ATJw9", + "slug": "quarkiverse-cucumber", + "description": "Quarkiverse team for the Cucumber extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5020733", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cucumber", + "members_url": "https://api.github.com/organizations/69191779/team/5020733/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5020733/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cxf", + "id": 4221025, + "node_id": "MDQ6VGVhbTQyMjEwMjU=", + "slug": "quarkiverse-cxf", + "description": "Quarkiverse team for the CXF extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4221025", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cxf", + "members_url": "https://api.github.com/organizations/69191779/team/4221025/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4221025/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-datadog-opentracing", + "id": 4759562, + "node_id": "MDQ6VGVhbTQ3NTk1NjI=", + "slug": "quarkiverse-datadog-opentracing", + "description": "Quarkiverse team for the Datadog OpenTracing extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4759562", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-datadog-opentracing", + "members_url": "https://api.github.com/organizations/69191779/team/4759562/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4759562/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-doma", + "id": 4206574, + "node_id": "MDQ6VGVhbTQyMDY1NzQ=", + "slug": "quarkiverse-doma", + "description": "Quarkiverse team for the Doma extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4206574", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-doma", + "members_url": "https://api.github.com/organizations/69191779/team/4206574/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4206574/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-elasticsearch-reactive", + "id": 4941463, + "node_id": "MDQ6VGVhbTQ5NDE0NjM=", + "slug": "quarkiverse-elasticsearch-reactive", + "description": "Quarkiverse team for the elasticsearch-reactive extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4941463", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-elasticsearch-reactive", + "members_url": "https://api.github.com/organizations/69191779/team/4941463/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4941463/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-file-vault", + "id": 5713965, + "node_id": "T_kwDOBB_IY84AVzAt", + "slug": "quarkiverse-file-vault", + "description": "Quarkiverse file-vault team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5713965", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-file-vault", + "members_url": "https://api.github.com/organizations/69191779/team/5713965/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5713965/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-freemarker", + "id": 4139356, + "node_id": "MDQ6VGVhbTQxMzkzNTY=", + "slug": "quarkiverse-freemarker", + "description": "Quarkiverse team for the freemarker extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4139356", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-freemarker", + "members_url": "https://api.github.com/organizations/69191779/team/4139356/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4139356/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-api", + "id": 5327486, + "node_id": "T_kwDOBB_IY84AUUp-", + "slug": "quarkiverse-github-api", + "description": "Quarkiverse team for the GitHub API extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327486", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-api", + "members_url": "https://api.github.com/organizations/69191779/team/5327486/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327486/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-app", + "id": 5327479, + "node_id": "T_kwDOBB_IY84AUUp3", + "slug": "quarkiverse-github-app", + "description": "Quarkiverse team for the GitHub App extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327479", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-app", + "members_url": "https://api.github.com/organizations/69191779/team/5327479/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327479/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-google-cloud-services", + "id": 4133757, + "node_id": "MDQ6VGVhbTQxMzM3NTc=", + "slug": "quarkiverse-google-cloud-services", + "description": "Quarkiverse team for the Google Cloud Services extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4133757", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-google-cloud-services", + "members_url": "https://api.github.com/organizations/69191779/team/4133757/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4133757/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-helm", + "id": 5693931, + "node_id": "T_kwDOBB_IY84AVuHr", + "slug": "quarkiverse-helm", + "description": "Quarkiverse Helm team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5693931", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-helm", + "members_url": "https://api.github.com/organizations/69191779/team/5693931/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5693931/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate-search-extras", + "id": 5449102, + "node_id": "T_kwDOBB_IY84AUyWO", + "slug": "quarkiverse-hibernate-search-extras", + "description": "Quarkiverse team for the Hibernate Search Extras extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5449102", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate-search-extras", + "members_url": "https://api.github.com/organizations/69191779/team/5449102/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5449102/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate_types", + "id": 4427586, + "node_id": "MDQ6VGVhbTQ0Mjc1ODY=", + "slug": "quarkiverse-hibernate_types", + "description": "Quarkiverse team for the hibernate_types extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4427586", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate_types", + "members_url": "https://api.github.com/organizations/69191779/team/4427586/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4427586/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hivemq-client", + "id": 4651319, + "node_id": "MDQ6VGVhbTQ2NTEzMTk=", + "slug": "quarkiverse-hivemq-client", + "description": "Quarkiverse team for the hivemq_client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4651319", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hivemq-client", + "members_url": "https://api.github.com/organizations/69191779/team/4651319/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4651319/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jackson-jq", + "id": 5182252, + "node_id": "T_kwDOBB_IY84ATxMs", + "slug": "quarkiverse-jackson-jq", + "description": "Quarkiverse team for the Jackson JQ extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5182252", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jackson-jq", + "members_url": "https://api.github.com/organizations/69191779/team/5182252/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5182252/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jberet", + "id": 4130738, + "node_id": "MDQ6VGVhbTQxMzA3Mzg=", + "slug": "quarkiverse-jberet", + "description": "Quarkiverse team for the jberet extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4130738", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jberet", + "members_url": "https://api.github.com/organizations/69191779/team/4130738/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4130738/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgit", + "id": 5418782, + "node_id": "T_kwDOBB_IY84AUq8e", + "slug": "quarkiverse-jgit", + "description": "Quarkiverse team for the JGit extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418782", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgit", + "members_url": "https://api.github.com/organizations/69191779/team/5418782/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418782/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgrapht", + "id": 4691584, + "node_id": "MDQ6VGVhbTQ2OTE1ODQ=", + "slug": "quarkiverse-jgrapht", + "description": "Quarkiverse team for the JGrapht extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4691584", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgrapht", + "members_url": "https://api.github.com/organizations/69191779/team/4691584/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4691584/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jjwt-jackson", + "id": 4698127, + "node_id": "MDQ6VGVhbTQ2OTgxMjc=", + "slug": "quarkiverse-jjwt-jackson", + "description": "Quarkiverse team for the jjwt-jackson extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4698127", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jjwt-jackson", + "members_url": "https://api.github.com/organizations/69191779/team/4698127/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4698127/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jna", + "id": 4257639, + "node_id": "MDQ6VGVhbTQyNTc2Mzk=", + "slug": "quarkiverse-jna", + "description": "Quarkiverse team for the jna extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4257639", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jna", + "members_url": "https://api.github.com/organizations/69191779/team/4257639/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4257639/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jooq", + "id": 4499064, + "node_id": "MDQ6VGVhbTQ0OTkwNjQ=", + "slug": "quarkiverse-jooq", + "description": "Quarkiverse team for the jooq extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4499064", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jooq", + "members_url": "https://api.github.com/organizations/69191779/team/4499064/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4499064/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jsch", + "id": 5418783, + "node_id": "T_kwDOBB_IY84AUq8f", + "slug": "quarkiverse-jsch", + "description": "Quarkiverse team for the JSch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418783", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jsch", + "members_url": "https://api.github.com/organizations/69191779/team/5418783/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418783/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-kerberos", + "id": 5330599, + "node_id": "T_kwDOBB_IY84AUVan", + "slug": "quarkiverse-kerberos", + "description": "Quarkiverse team for the kerberos extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330599", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-kerberos", + "members_url": "https://api.github.com/organizations/69191779/team/5330599/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330599/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-cloudwatch", + "id": 4766806, + "node_id": "MDQ6VGVhbTQ3NjY4MDY=", + "slug": "quarkiverse-logging-cloudwatch", + "description": "Quarkiverse team for the logging-cloudwatch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4766806", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-cloudwatch", + "members_url": "https://api.github.com/organizations/69191779/team/4766806/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4766806/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-json", + "id": 4136031, + "node_id": "MDQ6VGVhbTQxMzYwMzE=", + "slug": "quarkiverse-logging-json", + "description": "Quarkiverse team for the logging-json extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4136031", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-json", + "members_url": "https://api.github.com/organizations/69191779/team/4136031/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4136031/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-92.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-92.json new file mode 100644 index 0000000000..03d83d8911 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-92.json @@ -0,0 +1,782 @@ +[ + { + "name": "quarkiverse-amazon-alexa", + "id": 5438751, + "node_id": "T_kwDOBB_IY84AUv0f", + "slug": "quarkiverse-amazon-alexa", + "description": "Quarkiverse team for the Amazon Alexa extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438751", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-alexa", + "members_url": "https://api.github.com/organizations/69191779/team/5438751/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438751/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-amazon-services", + "id": 5438747, + "node_id": "T_kwDOBB_IY84AUv0b", + "slug": "quarkiverse-amazon-services", + "description": "Quarkiverse team for the Amazon Services extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438747", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-services", + "members_url": "https://api.github.com/organizations/69191779/team/5438747/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438747/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-apicurio-registry-client", + "id": 4359832, + "node_id": "MDQ6VGVhbTQzNTk4MzI=", + "slug": "quarkiverse-apicurio-registry-client", + "description": "Quarkiverse team for the apicurio-registry-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4359832", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-apicurio-registry-client", + "members_url": "https://api.github.com/organizations/69191779/team/4359832/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4359832/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-artemis", + "id": 5438742, + "node_id": "T_kwDOBB_IY84AUv0W", + "slug": "quarkiverse-artemis", + "description": "Quarkiverse team for the Artemis extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438742", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-artemis", + "members_url": "https://api.github.com/organizations/69191779/team/5438742/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438742/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-config-extensions", + "id": 4679791, + "node_id": "MDQ6VGVhbTQ2Nzk3OTE=", + "slug": "quarkiverse-config-extensions", + "description": "Quarkiverse team for the config-extensions extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4679791", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-config-extensions", + "members_url": "https://api.github.com/organizations/69191779/team/4679791/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4679791/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cucumber", + "id": 5020733, + "node_id": "T_kwDOBB_IY84ATJw9", + "slug": "quarkiverse-cucumber", + "description": "Quarkiverse team for the Cucumber extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5020733", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cucumber", + "members_url": "https://api.github.com/organizations/69191779/team/5020733/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5020733/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cxf", + "id": 4221025, + "node_id": "MDQ6VGVhbTQyMjEwMjU=", + "slug": "quarkiverse-cxf", + "description": "Quarkiverse team for the CXF extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4221025", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cxf", + "members_url": "https://api.github.com/organizations/69191779/team/4221025/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4221025/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-datadog-opentracing", + "id": 4759562, + "node_id": "MDQ6VGVhbTQ3NTk1NjI=", + "slug": "quarkiverse-datadog-opentracing", + "description": "Quarkiverse team for the Datadog OpenTracing extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4759562", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-datadog-opentracing", + "members_url": "https://api.github.com/organizations/69191779/team/4759562/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4759562/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-doma", + "id": 4206574, + "node_id": "MDQ6VGVhbTQyMDY1NzQ=", + "slug": "quarkiverse-doma", + "description": "Quarkiverse team for the Doma extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4206574", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-doma", + "members_url": "https://api.github.com/organizations/69191779/team/4206574/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4206574/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-elasticsearch-reactive", + "id": 4941463, + "node_id": "MDQ6VGVhbTQ5NDE0NjM=", + "slug": "quarkiverse-elasticsearch-reactive", + "description": "Quarkiverse team for the elasticsearch-reactive extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4941463", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-elasticsearch-reactive", + "members_url": "https://api.github.com/organizations/69191779/team/4941463/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4941463/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-file-vault", + "id": 5713965, + "node_id": "T_kwDOBB_IY84AVzAt", + "slug": "quarkiverse-file-vault", + "description": "Quarkiverse file-vault team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5713965", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-file-vault", + "members_url": "https://api.github.com/organizations/69191779/team/5713965/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5713965/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-freemarker", + "id": 4139356, + "node_id": "MDQ6VGVhbTQxMzkzNTY=", + "slug": "quarkiverse-freemarker", + "description": "Quarkiverse team for the freemarker extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4139356", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-freemarker", + "members_url": "https://api.github.com/organizations/69191779/team/4139356/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4139356/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-api", + "id": 5327486, + "node_id": "T_kwDOBB_IY84AUUp-", + "slug": "quarkiverse-github-api", + "description": "Quarkiverse team for the GitHub API extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327486", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-api", + "members_url": "https://api.github.com/organizations/69191779/team/5327486/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327486/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-app", + "id": 5327479, + "node_id": "T_kwDOBB_IY84AUUp3", + "slug": "quarkiverse-github-app", + "description": "Quarkiverse team for the GitHub App extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327479", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-app", + "members_url": "https://api.github.com/organizations/69191779/team/5327479/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327479/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-google-cloud-services", + "id": 4133757, + "node_id": "MDQ6VGVhbTQxMzM3NTc=", + "slug": "quarkiverse-google-cloud-services", + "description": "Quarkiverse team for the Google Cloud Services extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4133757", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-google-cloud-services", + "members_url": "https://api.github.com/organizations/69191779/team/4133757/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4133757/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-helm", + "id": 5693931, + "node_id": "T_kwDOBB_IY84AVuHr", + "slug": "quarkiverse-helm", + "description": "Quarkiverse Helm team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5693931", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-helm", + "members_url": "https://api.github.com/organizations/69191779/team/5693931/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5693931/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate-search-extras", + "id": 5449102, + "node_id": "T_kwDOBB_IY84AUyWO", + "slug": "quarkiverse-hibernate-search-extras", + "description": "Quarkiverse team for the Hibernate Search Extras extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5449102", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate-search-extras", + "members_url": "https://api.github.com/organizations/69191779/team/5449102/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5449102/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate_types", + "id": 4427586, + "node_id": "MDQ6VGVhbTQ0Mjc1ODY=", + "slug": "quarkiverse-hibernate_types", + "description": "Quarkiverse team for the hibernate_types extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4427586", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate_types", + "members_url": "https://api.github.com/organizations/69191779/team/4427586/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4427586/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hivemq-client", + "id": 4651319, + "node_id": "MDQ6VGVhbTQ2NTEzMTk=", + "slug": "quarkiverse-hivemq-client", + "description": "Quarkiverse team for the hivemq_client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4651319", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hivemq-client", + "members_url": "https://api.github.com/organizations/69191779/team/4651319/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4651319/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jackson-jq", + "id": 5182252, + "node_id": "T_kwDOBB_IY84ATxMs", + "slug": "quarkiverse-jackson-jq", + "description": "Quarkiverse team for the Jackson JQ extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5182252", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jackson-jq", + "members_url": "https://api.github.com/organizations/69191779/team/5182252/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5182252/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jberet", + "id": 4130738, + "node_id": "MDQ6VGVhbTQxMzA3Mzg=", + "slug": "quarkiverse-jberet", + "description": "Quarkiverse team for the jberet extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4130738", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jberet", + "members_url": "https://api.github.com/organizations/69191779/team/4130738/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4130738/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgit", + "id": 5418782, + "node_id": "T_kwDOBB_IY84AUq8e", + "slug": "quarkiverse-jgit", + "description": "Quarkiverse team for the JGit extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418782", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgit", + "members_url": "https://api.github.com/organizations/69191779/team/5418782/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418782/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgrapht", + "id": 4691584, + "node_id": "MDQ6VGVhbTQ2OTE1ODQ=", + "slug": "quarkiverse-jgrapht", + "description": "Quarkiverse team for the JGrapht extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4691584", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgrapht", + "members_url": "https://api.github.com/organizations/69191779/team/4691584/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4691584/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jjwt-jackson", + "id": 4698127, + "node_id": "MDQ6VGVhbTQ2OTgxMjc=", + "slug": "quarkiverse-jjwt-jackson", + "description": "Quarkiverse team for the jjwt-jackson extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4698127", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jjwt-jackson", + "members_url": "https://api.github.com/organizations/69191779/team/4698127/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4698127/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jna", + "id": 4257639, + "node_id": "MDQ6VGVhbTQyNTc2Mzk=", + "slug": "quarkiverse-jna", + "description": "Quarkiverse team for the jna extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4257639", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jna", + "members_url": "https://api.github.com/organizations/69191779/team/4257639/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4257639/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jooq", + "id": 4499064, + "node_id": "MDQ6VGVhbTQ0OTkwNjQ=", + "slug": "quarkiverse-jooq", + "description": "Quarkiverse team for the jooq extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4499064", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jooq", + "members_url": "https://api.github.com/organizations/69191779/team/4499064/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4499064/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jsch", + "id": 5418783, + "node_id": "T_kwDOBB_IY84AUq8f", + "slug": "quarkiverse-jsch", + "description": "Quarkiverse team for the JSch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418783", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jsch", + "members_url": "https://api.github.com/organizations/69191779/team/5418783/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418783/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-kerberos", + "id": 5330599, + "node_id": "T_kwDOBB_IY84AUVan", + "slug": "quarkiverse-kerberos", + "description": "Quarkiverse team for the kerberos extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330599", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-kerberos", + "members_url": "https://api.github.com/organizations/69191779/team/5330599/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330599/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-cloudwatch", + "id": 4766806, + "node_id": "MDQ6VGVhbTQ3NjY4MDY=", + "slug": "quarkiverse-logging-cloudwatch", + "description": "Quarkiverse team for the logging-cloudwatch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4766806", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-cloudwatch", + "members_url": "https://api.github.com/organizations/69191779/team/4766806/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4766806/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-json", + "id": 4136031, + "node_id": "MDQ6VGVhbTQxMzYwMzE=", + "slug": "quarkiverse-logging-json", + "description": "Quarkiverse team for the logging-json extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4136031", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-json", + "members_url": "https://api.github.com/organizations/69191779/team/4136031/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4136031/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-95.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-95.json new file mode 100644 index 0000000000..03d83d8911 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkiverse_teams-95.json @@ -0,0 +1,782 @@ +[ + { + "name": "quarkiverse-amazon-alexa", + "id": 5438751, + "node_id": "T_kwDOBB_IY84AUv0f", + "slug": "quarkiverse-amazon-alexa", + "description": "Quarkiverse team for the Amazon Alexa extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438751", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-alexa", + "members_url": "https://api.github.com/organizations/69191779/team/5438751/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438751/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-amazon-services", + "id": 5438747, + "node_id": "T_kwDOBB_IY84AUv0b", + "slug": "quarkiverse-amazon-services", + "description": "Quarkiverse team for the Amazon Services extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438747", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-amazon-services", + "members_url": "https://api.github.com/organizations/69191779/team/5438747/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438747/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-apicurio-registry-client", + "id": 4359832, + "node_id": "MDQ6VGVhbTQzNTk4MzI=", + "slug": "quarkiverse-apicurio-registry-client", + "description": "Quarkiverse team for the apicurio-registry-client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4359832", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-apicurio-registry-client", + "members_url": "https://api.github.com/organizations/69191779/team/4359832/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4359832/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-artemis", + "id": 5438742, + "node_id": "T_kwDOBB_IY84AUv0W", + "slug": "quarkiverse-artemis", + "description": "Quarkiverse team for the Artemis extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5438742", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-artemis", + "members_url": "https://api.github.com/organizations/69191779/team/5438742/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5438742/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-config-extensions", + "id": 4679791, + "node_id": "MDQ6VGVhbTQ2Nzk3OTE=", + "slug": "quarkiverse-config-extensions", + "description": "Quarkiverse team for the config-extensions extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4679791", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-config-extensions", + "members_url": "https://api.github.com/organizations/69191779/team/4679791/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4679791/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cucumber", + "id": 5020733, + "node_id": "T_kwDOBB_IY84ATJw9", + "slug": "quarkiverse-cucumber", + "description": "Quarkiverse team for the Cucumber extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5020733", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cucumber", + "members_url": "https://api.github.com/organizations/69191779/team/5020733/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5020733/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-cxf", + "id": 4221025, + "node_id": "MDQ6VGVhbTQyMjEwMjU=", + "slug": "quarkiverse-cxf", + "description": "Quarkiverse team for the CXF extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4221025", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-cxf", + "members_url": "https://api.github.com/organizations/69191779/team/4221025/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4221025/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-datadog-opentracing", + "id": 4759562, + "node_id": "MDQ6VGVhbTQ3NTk1NjI=", + "slug": "quarkiverse-datadog-opentracing", + "description": "Quarkiverse team for the Datadog OpenTracing extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4759562", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-datadog-opentracing", + "members_url": "https://api.github.com/organizations/69191779/team/4759562/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4759562/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-doma", + "id": 4206574, + "node_id": "MDQ6VGVhbTQyMDY1NzQ=", + "slug": "quarkiverse-doma", + "description": "Quarkiverse team for the Doma extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4206574", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-doma", + "members_url": "https://api.github.com/organizations/69191779/team/4206574/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4206574/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-elasticsearch-reactive", + "id": 4941463, + "node_id": "MDQ6VGVhbTQ5NDE0NjM=", + "slug": "quarkiverse-elasticsearch-reactive", + "description": "Quarkiverse team for the elasticsearch-reactive extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4941463", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-elasticsearch-reactive", + "members_url": "https://api.github.com/organizations/69191779/team/4941463/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4941463/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-file-vault", + "id": 5713965, + "node_id": "T_kwDOBB_IY84AVzAt", + "slug": "quarkiverse-file-vault", + "description": "Quarkiverse file-vault team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5713965", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-file-vault", + "members_url": "https://api.github.com/organizations/69191779/team/5713965/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5713965/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-freemarker", + "id": 4139356, + "node_id": "MDQ6VGVhbTQxMzkzNTY=", + "slug": "quarkiverse-freemarker", + "description": "Quarkiverse team for the freemarker extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4139356", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-freemarker", + "members_url": "https://api.github.com/organizations/69191779/team/4139356/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4139356/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-api", + "id": 5327486, + "node_id": "T_kwDOBB_IY84AUUp-", + "slug": "quarkiverse-github-api", + "description": "Quarkiverse team for the GitHub API extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327486", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-api", + "members_url": "https://api.github.com/organizations/69191779/team/5327486/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327486/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-github-app", + "id": 5327479, + "node_id": "T_kwDOBB_IY84AUUp3", + "slug": "quarkiverse-github-app", + "description": "Quarkiverse team for the GitHub App extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5327479", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-app", + "members_url": "https://api.github.com/organizations/69191779/team/5327479/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327479/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-google-cloud-services", + "id": 4133757, + "node_id": "MDQ6VGVhbTQxMzM3NTc=", + "slug": "quarkiverse-google-cloud-services", + "description": "Quarkiverse team for the Google Cloud Services extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4133757", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-google-cloud-services", + "members_url": "https://api.github.com/organizations/69191779/team/4133757/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4133757/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-helm", + "id": 5693931, + "node_id": "T_kwDOBB_IY84AVuHr", + "slug": "quarkiverse-helm", + "description": "Quarkiverse Helm team", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5693931", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-helm", + "members_url": "https://api.github.com/organizations/69191779/team/5693931/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5693931/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate-search-extras", + "id": 5449102, + "node_id": "T_kwDOBB_IY84AUyWO", + "slug": "quarkiverse-hibernate-search-extras", + "description": "Quarkiverse team for the Hibernate Search Extras extensions", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5449102", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate-search-extras", + "members_url": "https://api.github.com/organizations/69191779/team/5449102/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5449102/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hibernate_types", + "id": 4427586, + "node_id": "MDQ6VGVhbTQ0Mjc1ODY=", + "slug": "quarkiverse-hibernate_types", + "description": "Quarkiverse team for the hibernate_types extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4427586", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hibernate_types", + "members_url": "https://api.github.com/organizations/69191779/team/4427586/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4427586/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-hivemq-client", + "id": 4651319, + "node_id": "MDQ6VGVhbTQ2NTEzMTk=", + "slug": "quarkiverse-hivemq-client", + "description": "Quarkiverse team for the hivemq_client extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4651319", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-hivemq-client", + "members_url": "https://api.github.com/organizations/69191779/team/4651319/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4651319/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jackson-jq", + "id": 5182252, + "node_id": "T_kwDOBB_IY84ATxMs", + "slug": "quarkiverse-jackson-jq", + "description": "Quarkiverse team for the Jackson JQ extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5182252", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jackson-jq", + "members_url": "https://api.github.com/organizations/69191779/team/5182252/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5182252/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jberet", + "id": 4130738, + "node_id": "MDQ6VGVhbTQxMzA3Mzg=", + "slug": "quarkiverse-jberet", + "description": "Quarkiverse team for the jberet extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4130738", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jberet", + "members_url": "https://api.github.com/organizations/69191779/team/4130738/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4130738/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgit", + "id": 5418782, + "node_id": "T_kwDOBB_IY84AUq8e", + "slug": "quarkiverse-jgit", + "description": "Quarkiverse team for the JGit extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418782", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgit", + "members_url": "https://api.github.com/organizations/69191779/team/5418782/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418782/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jgrapht", + "id": 4691584, + "node_id": "MDQ6VGVhbTQ2OTE1ODQ=", + "slug": "quarkiverse-jgrapht", + "description": "Quarkiverse team for the JGrapht extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4691584", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jgrapht", + "members_url": "https://api.github.com/organizations/69191779/team/4691584/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4691584/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jjwt-jackson", + "id": 4698127, + "node_id": "MDQ6VGVhbTQ2OTgxMjc=", + "slug": "quarkiverse-jjwt-jackson", + "description": "Quarkiverse team for the jjwt-jackson extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4698127", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jjwt-jackson", + "members_url": "https://api.github.com/organizations/69191779/team/4698127/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4698127/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jna", + "id": 4257639, + "node_id": "MDQ6VGVhbTQyNTc2Mzk=", + "slug": "quarkiverse-jna", + "description": "Quarkiverse team for the jna extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4257639", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jna", + "members_url": "https://api.github.com/organizations/69191779/team/4257639/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4257639/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jooq", + "id": 4499064, + "node_id": "MDQ6VGVhbTQ0OTkwNjQ=", + "slug": "quarkiverse-jooq", + "description": "Quarkiverse team for the jooq extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4499064", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jooq", + "members_url": "https://api.github.com/organizations/69191779/team/4499064/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4499064/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-jsch", + "id": 5418783, + "node_id": "T_kwDOBB_IY84AUq8f", + "slug": "quarkiverse-jsch", + "description": "Quarkiverse team for the JSch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5418783", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jsch", + "members_url": "https://api.github.com/organizations/69191779/team/5418783/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5418783/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-kerberos", + "id": 5330599, + "node_id": "T_kwDOBB_IY84AUVan", + "slug": "quarkiverse-kerberos", + "description": "Quarkiverse team for the kerberos extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5330599", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-kerberos", + "members_url": "https://api.github.com/organizations/69191779/team/5330599/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330599/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-cloudwatch", + "id": 4766806, + "node_id": "MDQ6VGVhbTQ3NjY4MDY=", + "slug": "quarkiverse-logging-cloudwatch", + "description": "Quarkiverse team for the logging-cloudwatch extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4766806", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-cloudwatch", + "members_url": "https://api.github.com/organizations/69191779/team/4766806/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4766806/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + }, + { + "name": "quarkiverse-logging-json", + "id": 4136031, + "node_id": "MDQ6VGVhbTQxMzYwMzE=", + "slug": "quarkiverse-logging-json", + "description": "Quarkiverse team for the logging-json extension", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/4136031", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-json", + "members_url": "https://api.github.com/organizations/69191779/team/4136031/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4136031/repos", + "permission": "pull", + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" + } + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio-20.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio-20.json new file mode 100644 index 0000000000..36ce088f53 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio-20.json @@ -0,0 +1,55 @@ +{ + "login": "quarkusio", + "id": 47638783, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3NjM4Nzgz", + "url": "https://api.github.com/orgs/quarkusio", + "repos_url": "https://api.github.com/orgs/quarkusio/repos", + "events_url": "https://api.github.com/orgs/quarkusio/events", + "hooks_url": "https://api.github.com/orgs/quarkusio/hooks", + "issues_url": "https://api.github.com/orgs/quarkusio/issues", + "members_url": "https://api.github.com/orgs/quarkusio/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkusio/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/47638783?v=4", + "description": "Quarkus: Supersonic Subatomic Java", + "name": "QuarkusIO", + "company": null, + "blog": "https://quarkus.io", + "location": "The clouds", + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 47, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/quarkusio", + "created_at": "2019-02-14T16:18:52Z", + "updated_at": "2020-04-08T04:51:14Z", + "type": "Organization", + "total_private_repos": 7, + "owned_private_repos": 9, + "private_gists": 0, + "disk_usage": 1331544, + "collaborators": 10, + "billing_email": "quarkusio@mel.emmanuelbernard.com", + "default_repository_permission": "read", + "members_can_create_repositories": true, + "two_factor_requirement_enabled": true, + "members_allowed_repository_creation_type": "all", + "members_can_create_public_repositories": true, + "members_can_create_private_repositories": true, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": true, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "team", + "space": 976562499, + "private_repos": 999999, + "filled_seats": 71, + "seats": 49 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-21.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-21.json new file mode 100644 index 0000000000..1e2a0d340b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-21.json @@ -0,0 +1,282 @@ +[ + { + "name": "bootstrap", + "id": 3635435, + "node_id": "MDQ6VGVhbTM2MzU0MzU=", + "slug": "bootstrap", + "description": "team to ping on issues related to bootstrap ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635435", + "html_url": "https://github.com/orgs/quarkusio/teams/bootstrap", + "members_url": "https://api.github.com/organizations/47638783/team/3635435/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635435/repos", + "permission": "pull", + "parent": null + }, + { + "name": "camel", + "id": 3821934, + "node_id": "MDQ6VGVhbTM4MjE5MzQ=", + "slug": "camel", + "description": "People interested in helping out when Camel related issues", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3821934", + "html_url": "https://github.com/orgs/quarkusio/teams/camel", + "members_url": "https://api.github.com/organizations/47638783/team/3821934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3821934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "committerhelp", + "id": 3962365, + "node_id": "MDQ6VGVhbTM5NjIzNjU=", + "slug": "committerhelp", + "description": "Group to ping if have a question as committer ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3962365", + "html_url": "https://github.com/orgs/quarkusio/teams/committerhelp", + "members_url": "https://api.github.com/organizations/47638783/team/3962365/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3962365/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Contributors", + "id": 3227347, + "node_id": "MDQ6VGVhbTMyMjczNDc=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3227347", + "html_url": "https://github.com/orgs/quarkusio/teams/contributors", + "members_url": "https://api.github.com/organizations/47638783/team/3227347/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3227347/repos", + "permission": "pull", + "parent": null + }, + { + "name": "devtools", + "id": 3635436, + "node_id": "MDQ6VGVhbTM2MzU0MzY=", + "slug": "devtools", + "description": "team to mention for issues related to developer tools/plugins", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635436", + "html_url": "https://github.com/orgs/quarkusio/teams/devtools", + "members_url": "https://api.github.com/organizations/47638783/team/3635436/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635436/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Honorary", + "id": 3688740, + "node_id": "MDQ6VGVhbTM2ODg3NDA=", + "slug": "honorary", + "description": "No specific rights required but part of the team.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3688740", + "html_url": "https://github.com/orgs/quarkusio/teams/honorary", + "members_url": "https://api.github.com/organizations/47638783/team/3688740/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688740/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ja.quarkus.io", + "id": 4608545, + "node_id": "MDQ6VGVhbTQ2MDg1NDU=", + "slug": "ja-quarkus-io", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4608545", + "html_url": "https://github.com/orgs/quarkusio/teams/ja-quarkus-io", + "members_url": "https://api.github.com/organizations/47638783/team/4608545/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4608545/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Admin", + "id": 3160672, + "node_id": "MDQ6VGVhbTMxNjA2NzI=", + "slug": "quarkus-admin", + "description": "Admin repos", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3160672", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-admin", + "members_url": "https://api.github.com/organizations/47638783/team/3160672/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3160672/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Push", + "id": 3149002, + "node_id": "MDQ6VGVhbTMxNDkwMDI=", + "slug": "quarkus-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149002", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149002/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149002/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Release Managers", + "id": 4027433, + "node_id": "MDQ6VGVhbTQwMjc0MzM=", + "slug": "quarkus-release-managers", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/4027433", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-release-managers", + "members_url": "https://api.github.com/organizations/47638783/team/4027433/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4027433/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Triage", + "id": 3283934, + "node_id": "MDQ6VGVhbTMyODM5MzQ=", + "slug": "quarkus-triage", + "description": "Can assign issues, add labels...", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3283934", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-triage", + "members_url": "https://api.github.com/organizations/47638783/team/3283934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3283934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-insights", + "id": 4639477, + "node_id": "MDQ6VGVhbTQ2Mzk0Nzc=", + "slug": "quarkus-insights", + "description": "Quarkus Insights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4639477", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-insights", + "members_url": "https://api.github.com/organizations/47638783/team/4639477/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4639477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-platform", + "id": 3471846, + "node_id": "MDQ6VGVhbTM0NzE4NDY=", + "slug": "quarkus-platform", + "description": "Push access to platform", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3471846", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-platform", + "members_url": "https://api.github.com/organizations/47638783/team/3471846/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3471846/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-redhat-services", + "id": 5580963, + "node_id": "T_kwDOAtbo_84AVSij", + "slug": "quarkus-redhat-services", + "description": "people who need access to infrastructure docs.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/5580963", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-redhat-services", + "members_url": "https://api.github.com/organizations/47638783/team/5580963/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/5580963/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quickstarts-guardians", + "id": 3232385, + "node_id": "MDQ6VGVhbTMyMzIzODU=", + "slug": "quickstarts-guardians", + "description": "The guardians of the quickstartd", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3232385", + "html_url": "https://github.com/orgs/quarkusio/teams/quickstarts-guardians", + "members_url": "https://api.github.com/organizations/47638783/team/3232385/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3232385/repos", + "permission": "pull", + "parent": null + }, + { + "name": "reactive", + "id": 4674677, + "node_id": "MDQ6VGVhbTQ2NzQ2Nzc=", + "slug": "reactive", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4674677", + "html_url": "https://github.com/orgs/quarkusio/teams/reactive", + "members_url": "https://api.github.com/organizations/47638783/team/4674677/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4674677/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Site Push", + "id": 3149008, + "node_id": "MDQ6VGVhbTMxNDkwMDg=", + "slug": "site-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149008", + "html_url": "https://github.com/orgs/quarkusio/teams/site-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149008/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149008/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Spring Push", + "id": 3688410, + "node_id": "MDQ6VGVhbTM2ODg0MTA=", + "slug": "spring-push", + "description": "People with Spring repo push rights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3688410", + "html_url": "https://github.com/orgs/quarkusio/teams/spring-push", + "members_url": "https://api.github.com/organizations/47638783/team/3688410/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688410/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Stats and bots", + "id": 3315698, + "node_id": "MDQ6VGVhbTMzMTU2OTg=", + "slug": "stats-and-bots", + "description": "Team used for statistics and other bot stuff", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3315698", + "html_url": "https://github.com/orgs/quarkusio/teams/stats-and-bots", + "members_url": "https://api.github.com/organizations/47638783/team/3315698/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3315698/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Workshop writers", + "id": 3406338, + "node_id": "MDQ6VGVhbTM0MDYzMzg=", + "slug": "workshop-writers", + "description": "People editing the workshops repository", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3406338", + "html_url": "https://github.com/orgs/quarkusio/teams/workshop-writers", + "members_url": "https://api.github.com/organizations/47638783/team/3406338/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3406338/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-23.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-23.json new file mode 100644 index 0000000000..1e2a0d340b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-23.json @@ -0,0 +1,282 @@ +[ + { + "name": "bootstrap", + "id": 3635435, + "node_id": "MDQ6VGVhbTM2MzU0MzU=", + "slug": "bootstrap", + "description": "team to ping on issues related to bootstrap ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635435", + "html_url": "https://github.com/orgs/quarkusio/teams/bootstrap", + "members_url": "https://api.github.com/organizations/47638783/team/3635435/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635435/repos", + "permission": "pull", + "parent": null + }, + { + "name": "camel", + "id": 3821934, + "node_id": "MDQ6VGVhbTM4MjE5MzQ=", + "slug": "camel", + "description": "People interested in helping out when Camel related issues", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3821934", + "html_url": "https://github.com/orgs/quarkusio/teams/camel", + "members_url": "https://api.github.com/organizations/47638783/team/3821934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3821934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "committerhelp", + "id": 3962365, + "node_id": "MDQ6VGVhbTM5NjIzNjU=", + "slug": "committerhelp", + "description": "Group to ping if have a question as committer ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3962365", + "html_url": "https://github.com/orgs/quarkusio/teams/committerhelp", + "members_url": "https://api.github.com/organizations/47638783/team/3962365/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3962365/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Contributors", + "id": 3227347, + "node_id": "MDQ6VGVhbTMyMjczNDc=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3227347", + "html_url": "https://github.com/orgs/quarkusio/teams/contributors", + "members_url": "https://api.github.com/organizations/47638783/team/3227347/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3227347/repos", + "permission": "pull", + "parent": null + }, + { + "name": "devtools", + "id": 3635436, + "node_id": "MDQ6VGVhbTM2MzU0MzY=", + "slug": "devtools", + "description": "team to mention for issues related to developer tools/plugins", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635436", + "html_url": "https://github.com/orgs/quarkusio/teams/devtools", + "members_url": "https://api.github.com/organizations/47638783/team/3635436/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635436/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Honorary", + "id": 3688740, + "node_id": "MDQ6VGVhbTM2ODg3NDA=", + "slug": "honorary", + "description": "No specific rights required but part of the team.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3688740", + "html_url": "https://github.com/orgs/quarkusio/teams/honorary", + "members_url": "https://api.github.com/organizations/47638783/team/3688740/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688740/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ja.quarkus.io", + "id": 4608545, + "node_id": "MDQ6VGVhbTQ2MDg1NDU=", + "slug": "ja-quarkus-io", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4608545", + "html_url": "https://github.com/orgs/quarkusio/teams/ja-quarkus-io", + "members_url": "https://api.github.com/organizations/47638783/team/4608545/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4608545/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Admin", + "id": 3160672, + "node_id": "MDQ6VGVhbTMxNjA2NzI=", + "slug": "quarkus-admin", + "description": "Admin repos", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3160672", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-admin", + "members_url": "https://api.github.com/organizations/47638783/team/3160672/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3160672/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Push", + "id": 3149002, + "node_id": "MDQ6VGVhbTMxNDkwMDI=", + "slug": "quarkus-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149002", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149002/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149002/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Release Managers", + "id": 4027433, + "node_id": "MDQ6VGVhbTQwMjc0MzM=", + "slug": "quarkus-release-managers", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/4027433", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-release-managers", + "members_url": "https://api.github.com/organizations/47638783/team/4027433/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4027433/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Triage", + "id": 3283934, + "node_id": "MDQ6VGVhbTMyODM5MzQ=", + "slug": "quarkus-triage", + "description": "Can assign issues, add labels...", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3283934", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-triage", + "members_url": "https://api.github.com/organizations/47638783/team/3283934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3283934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-insights", + "id": 4639477, + "node_id": "MDQ6VGVhbTQ2Mzk0Nzc=", + "slug": "quarkus-insights", + "description": "Quarkus Insights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4639477", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-insights", + "members_url": "https://api.github.com/organizations/47638783/team/4639477/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4639477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-platform", + "id": 3471846, + "node_id": "MDQ6VGVhbTM0NzE4NDY=", + "slug": "quarkus-platform", + "description": "Push access to platform", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3471846", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-platform", + "members_url": "https://api.github.com/organizations/47638783/team/3471846/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3471846/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-redhat-services", + "id": 5580963, + "node_id": "T_kwDOAtbo_84AVSij", + "slug": "quarkus-redhat-services", + "description": "people who need access to infrastructure docs.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/5580963", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-redhat-services", + "members_url": "https://api.github.com/organizations/47638783/team/5580963/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/5580963/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quickstarts-guardians", + "id": 3232385, + "node_id": "MDQ6VGVhbTMyMzIzODU=", + "slug": "quickstarts-guardians", + "description": "The guardians of the quickstartd", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3232385", + "html_url": "https://github.com/orgs/quarkusio/teams/quickstarts-guardians", + "members_url": "https://api.github.com/organizations/47638783/team/3232385/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3232385/repos", + "permission": "pull", + "parent": null + }, + { + "name": "reactive", + "id": 4674677, + "node_id": "MDQ6VGVhbTQ2NzQ2Nzc=", + "slug": "reactive", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4674677", + "html_url": "https://github.com/orgs/quarkusio/teams/reactive", + "members_url": "https://api.github.com/organizations/47638783/team/4674677/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4674677/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Site Push", + "id": 3149008, + "node_id": "MDQ6VGVhbTMxNDkwMDg=", + "slug": "site-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149008", + "html_url": "https://github.com/orgs/quarkusio/teams/site-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149008/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149008/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Spring Push", + "id": 3688410, + "node_id": "MDQ6VGVhbTM2ODg0MTA=", + "slug": "spring-push", + "description": "People with Spring repo push rights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3688410", + "html_url": "https://github.com/orgs/quarkusio/teams/spring-push", + "members_url": "https://api.github.com/organizations/47638783/team/3688410/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688410/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Stats and bots", + "id": 3315698, + "node_id": "MDQ6VGVhbTMzMTU2OTg=", + "slug": "stats-and-bots", + "description": "Team used for statistics and other bot stuff", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3315698", + "html_url": "https://github.com/orgs/quarkusio/teams/stats-and-bots", + "members_url": "https://api.github.com/organizations/47638783/team/3315698/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3315698/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Workshop writers", + "id": 3406338, + "node_id": "MDQ6VGVhbTM0MDYzMzg=", + "slug": "workshop-writers", + "description": "People editing the workshops repository", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3406338", + "html_url": "https://github.com/orgs/quarkusio/teams/workshop-writers", + "members_url": "https://api.github.com/organizations/47638783/team/3406338/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3406338/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-25.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-25.json new file mode 100644 index 0000000000..1e2a0d340b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-25.json @@ -0,0 +1,282 @@ +[ + { + "name": "bootstrap", + "id": 3635435, + "node_id": "MDQ6VGVhbTM2MzU0MzU=", + "slug": "bootstrap", + "description": "team to ping on issues related to bootstrap ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635435", + "html_url": "https://github.com/orgs/quarkusio/teams/bootstrap", + "members_url": "https://api.github.com/organizations/47638783/team/3635435/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635435/repos", + "permission": "pull", + "parent": null + }, + { + "name": "camel", + "id": 3821934, + "node_id": "MDQ6VGVhbTM4MjE5MzQ=", + "slug": "camel", + "description": "People interested in helping out when Camel related issues", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3821934", + "html_url": "https://github.com/orgs/quarkusio/teams/camel", + "members_url": "https://api.github.com/organizations/47638783/team/3821934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3821934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "committerhelp", + "id": 3962365, + "node_id": "MDQ6VGVhbTM5NjIzNjU=", + "slug": "committerhelp", + "description": "Group to ping if have a question as committer ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3962365", + "html_url": "https://github.com/orgs/quarkusio/teams/committerhelp", + "members_url": "https://api.github.com/organizations/47638783/team/3962365/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3962365/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Contributors", + "id": 3227347, + "node_id": "MDQ6VGVhbTMyMjczNDc=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3227347", + "html_url": "https://github.com/orgs/quarkusio/teams/contributors", + "members_url": "https://api.github.com/organizations/47638783/team/3227347/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3227347/repos", + "permission": "pull", + "parent": null + }, + { + "name": "devtools", + "id": 3635436, + "node_id": "MDQ6VGVhbTM2MzU0MzY=", + "slug": "devtools", + "description": "team to mention for issues related to developer tools/plugins", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635436", + "html_url": "https://github.com/orgs/quarkusio/teams/devtools", + "members_url": "https://api.github.com/organizations/47638783/team/3635436/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635436/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Honorary", + "id": 3688740, + "node_id": "MDQ6VGVhbTM2ODg3NDA=", + "slug": "honorary", + "description": "No specific rights required but part of the team.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3688740", + "html_url": "https://github.com/orgs/quarkusio/teams/honorary", + "members_url": "https://api.github.com/organizations/47638783/team/3688740/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688740/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ja.quarkus.io", + "id": 4608545, + "node_id": "MDQ6VGVhbTQ2MDg1NDU=", + "slug": "ja-quarkus-io", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4608545", + "html_url": "https://github.com/orgs/quarkusio/teams/ja-quarkus-io", + "members_url": "https://api.github.com/organizations/47638783/team/4608545/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4608545/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Admin", + "id": 3160672, + "node_id": "MDQ6VGVhbTMxNjA2NzI=", + "slug": "quarkus-admin", + "description": "Admin repos", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3160672", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-admin", + "members_url": "https://api.github.com/organizations/47638783/team/3160672/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3160672/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Push", + "id": 3149002, + "node_id": "MDQ6VGVhbTMxNDkwMDI=", + "slug": "quarkus-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149002", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149002/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149002/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Release Managers", + "id": 4027433, + "node_id": "MDQ6VGVhbTQwMjc0MzM=", + "slug": "quarkus-release-managers", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/4027433", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-release-managers", + "members_url": "https://api.github.com/organizations/47638783/team/4027433/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4027433/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Triage", + "id": 3283934, + "node_id": "MDQ6VGVhbTMyODM5MzQ=", + "slug": "quarkus-triage", + "description": "Can assign issues, add labels...", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3283934", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-triage", + "members_url": "https://api.github.com/organizations/47638783/team/3283934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3283934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-insights", + "id": 4639477, + "node_id": "MDQ6VGVhbTQ2Mzk0Nzc=", + "slug": "quarkus-insights", + "description": "Quarkus Insights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4639477", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-insights", + "members_url": "https://api.github.com/organizations/47638783/team/4639477/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4639477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-platform", + "id": 3471846, + "node_id": "MDQ6VGVhbTM0NzE4NDY=", + "slug": "quarkus-platform", + "description": "Push access to platform", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3471846", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-platform", + "members_url": "https://api.github.com/organizations/47638783/team/3471846/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3471846/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-redhat-services", + "id": 5580963, + "node_id": "T_kwDOAtbo_84AVSij", + "slug": "quarkus-redhat-services", + "description": "people who need access to infrastructure docs.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/5580963", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-redhat-services", + "members_url": "https://api.github.com/organizations/47638783/team/5580963/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/5580963/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quickstarts-guardians", + "id": 3232385, + "node_id": "MDQ6VGVhbTMyMzIzODU=", + "slug": "quickstarts-guardians", + "description": "The guardians of the quickstartd", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3232385", + "html_url": "https://github.com/orgs/quarkusio/teams/quickstarts-guardians", + "members_url": "https://api.github.com/organizations/47638783/team/3232385/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3232385/repos", + "permission": "pull", + "parent": null + }, + { + "name": "reactive", + "id": 4674677, + "node_id": "MDQ6VGVhbTQ2NzQ2Nzc=", + "slug": "reactive", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4674677", + "html_url": "https://github.com/orgs/quarkusio/teams/reactive", + "members_url": "https://api.github.com/organizations/47638783/team/4674677/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4674677/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Site Push", + "id": 3149008, + "node_id": "MDQ6VGVhbTMxNDkwMDg=", + "slug": "site-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149008", + "html_url": "https://github.com/orgs/quarkusio/teams/site-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149008/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149008/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Spring Push", + "id": 3688410, + "node_id": "MDQ6VGVhbTM2ODg0MTA=", + "slug": "spring-push", + "description": "People with Spring repo push rights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3688410", + "html_url": "https://github.com/orgs/quarkusio/teams/spring-push", + "members_url": "https://api.github.com/organizations/47638783/team/3688410/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688410/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Stats and bots", + "id": 3315698, + "node_id": "MDQ6VGVhbTMzMTU2OTg=", + "slug": "stats-and-bots", + "description": "Team used for statistics and other bot stuff", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3315698", + "html_url": "https://github.com/orgs/quarkusio/teams/stats-and-bots", + "members_url": "https://api.github.com/organizations/47638783/team/3315698/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3315698/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Workshop writers", + "id": 3406338, + "node_id": "MDQ6VGVhbTM0MDYzMzg=", + "slug": "workshop-writers", + "description": "People editing the workshops repository", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3406338", + "html_url": "https://github.com/orgs/quarkusio/teams/workshop-writers", + "members_url": "https://api.github.com/organizations/47638783/team/3406338/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3406338/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-27.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-27.json new file mode 100644 index 0000000000..1e2a0d340b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-27.json @@ -0,0 +1,282 @@ +[ + { + "name": "bootstrap", + "id": 3635435, + "node_id": "MDQ6VGVhbTM2MzU0MzU=", + "slug": "bootstrap", + "description": "team to ping on issues related to bootstrap ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635435", + "html_url": "https://github.com/orgs/quarkusio/teams/bootstrap", + "members_url": "https://api.github.com/organizations/47638783/team/3635435/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635435/repos", + "permission": "pull", + "parent": null + }, + { + "name": "camel", + "id": 3821934, + "node_id": "MDQ6VGVhbTM4MjE5MzQ=", + "slug": "camel", + "description": "People interested in helping out when Camel related issues", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3821934", + "html_url": "https://github.com/orgs/quarkusio/teams/camel", + "members_url": "https://api.github.com/organizations/47638783/team/3821934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3821934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "committerhelp", + "id": 3962365, + "node_id": "MDQ6VGVhbTM5NjIzNjU=", + "slug": "committerhelp", + "description": "Group to ping if have a question as committer ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3962365", + "html_url": "https://github.com/orgs/quarkusio/teams/committerhelp", + "members_url": "https://api.github.com/organizations/47638783/team/3962365/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3962365/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Contributors", + "id": 3227347, + "node_id": "MDQ6VGVhbTMyMjczNDc=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3227347", + "html_url": "https://github.com/orgs/quarkusio/teams/contributors", + "members_url": "https://api.github.com/organizations/47638783/team/3227347/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3227347/repos", + "permission": "pull", + "parent": null + }, + { + "name": "devtools", + "id": 3635436, + "node_id": "MDQ6VGVhbTM2MzU0MzY=", + "slug": "devtools", + "description": "team to mention for issues related to developer tools/plugins", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635436", + "html_url": "https://github.com/orgs/quarkusio/teams/devtools", + "members_url": "https://api.github.com/organizations/47638783/team/3635436/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635436/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Honorary", + "id": 3688740, + "node_id": "MDQ6VGVhbTM2ODg3NDA=", + "slug": "honorary", + "description": "No specific rights required but part of the team.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3688740", + "html_url": "https://github.com/orgs/quarkusio/teams/honorary", + "members_url": "https://api.github.com/organizations/47638783/team/3688740/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688740/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ja.quarkus.io", + "id": 4608545, + "node_id": "MDQ6VGVhbTQ2MDg1NDU=", + "slug": "ja-quarkus-io", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4608545", + "html_url": "https://github.com/orgs/quarkusio/teams/ja-quarkus-io", + "members_url": "https://api.github.com/organizations/47638783/team/4608545/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4608545/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Admin", + "id": 3160672, + "node_id": "MDQ6VGVhbTMxNjA2NzI=", + "slug": "quarkus-admin", + "description": "Admin repos", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3160672", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-admin", + "members_url": "https://api.github.com/organizations/47638783/team/3160672/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3160672/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Push", + "id": 3149002, + "node_id": "MDQ6VGVhbTMxNDkwMDI=", + "slug": "quarkus-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149002", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149002/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149002/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Release Managers", + "id": 4027433, + "node_id": "MDQ6VGVhbTQwMjc0MzM=", + "slug": "quarkus-release-managers", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/4027433", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-release-managers", + "members_url": "https://api.github.com/organizations/47638783/team/4027433/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4027433/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Triage", + "id": 3283934, + "node_id": "MDQ6VGVhbTMyODM5MzQ=", + "slug": "quarkus-triage", + "description": "Can assign issues, add labels...", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3283934", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-triage", + "members_url": "https://api.github.com/organizations/47638783/team/3283934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3283934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-insights", + "id": 4639477, + "node_id": "MDQ6VGVhbTQ2Mzk0Nzc=", + "slug": "quarkus-insights", + "description": "Quarkus Insights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4639477", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-insights", + "members_url": "https://api.github.com/organizations/47638783/team/4639477/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4639477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-platform", + "id": 3471846, + "node_id": "MDQ6VGVhbTM0NzE4NDY=", + "slug": "quarkus-platform", + "description": "Push access to platform", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3471846", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-platform", + "members_url": "https://api.github.com/organizations/47638783/team/3471846/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3471846/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-redhat-services", + "id": 5580963, + "node_id": "T_kwDOAtbo_84AVSij", + "slug": "quarkus-redhat-services", + "description": "people who need access to infrastructure docs.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/5580963", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-redhat-services", + "members_url": "https://api.github.com/organizations/47638783/team/5580963/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/5580963/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quickstarts-guardians", + "id": 3232385, + "node_id": "MDQ6VGVhbTMyMzIzODU=", + "slug": "quickstarts-guardians", + "description": "The guardians of the quickstartd", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3232385", + "html_url": "https://github.com/orgs/quarkusio/teams/quickstarts-guardians", + "members_url": "https://api.github.com/organizations/47638783/team/3232385/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3232385/repos", + "permission": "pull", + "parent": null + }, + { + "name": "reactive", + "id": 4674677, + "node_id": "MDQ6VGVhbTQ2NzQ2Nzc=", + "slug": "reactive", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4674677", + "html_url": "https://github.com/orgs/quarkusio/teams/reactive", + "members_url": "https://api.github.com/organizations/47638783/team/4674677/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4674677/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Site Push", + "id": 3149008, + "node_id": "MDQ6VGVhbTMxNDkwMDg=", + "slug": "site-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149008", + "html_url": "https://github.com/orgs/quarkusio/teams/site-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149008/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149008/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Spring Push", + "id": 3688410, + "node_id": "MDQ6VGVhbTM2ODg0MTA=", + "slug": "spring-push", + "description": "People with Spring repo push rights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3688410", + "html_url": "https://github.com/orgs/quarkusio/teams/spring-push", + "members_url": "https://api.github.com/organizations/47638783/team/3688410/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688410/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Stats and bots", + "id": 3315698, + "node_id": "MDQ6VGVhbTMzMTU2OTg=", + "slug": "stats-and-bots", + "description": "Team used for statistics and other bot stuff", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3315698", + "html_url": "https://github.com/orgs/quarkusio/teams/stats-and-bots", + "members_url": "https://api.github.com/organizations/47638783/team/3315698/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3315698/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Workshop writers", + "id": 3406338, + "node_id": "MDQ6VGVhbTM0MDYzMzg=", + "slug": "workshop-writers", + "description": "People editing the workshops repository", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3406338", + "html_url": "https://github.com/orgs/quarkusio/teams/workshop-writers", + "members_url": "https://api.github.com/organizations/47638783/team/3406338/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3406338/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-29.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-29.json new file mode 100644 index 0000000000..1e2a0d340b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-29.json @@ -0,0 +1,282 @@ +[ + { + "name": "bootstrap", + "id": 3635435, + "node_id": "MDQ6VGVhbTM2MzU0MzU=", + "slug": "bootstrap", + "description": "team to ping on issues related to bootstrap ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635435", + "html_url": "https://github.com/orgs/quarkusio/teams/bootstrap", + "members_url": "https://api.github.com/organizations/47638783/team/3635435/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635435/repos", + "permission": "pull", + "parent": null + }, + { + "name": "camel", + "id": 3821934, + "node_id": "MDQ6VGVhbTM4MjE5MzQ=", + "slug": "camel", + "description": "People interested in helping out when Camel related issues", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3821934", + "html_url": "https://github.com/orgs/quarkusio/teams/camel", + "members_url": "https://api.github.com/organizations/47638783/team/3821934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3821934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "committerhelp", + "id": 3962365, + "node_id": "MDQ6VGVhbTM5NjIzNjU=", + "slug": "committerhelp", + "description": "Group to ping if have a question as committer ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3962365", + "html_url": "https://github.com/orgs/quarkusio/teams/committerhelp", + "members_url": "https://api.github.com/organizations/47638783/team/3962365/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3962365/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Contributors", + "id": 3227347, + "node_id": "MDQ6VGVhbTMyMjczNDc=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3227347", + "html_url": "https://github.com/orgs/quarkusio/teams/contributors", + "members_url": "https://api.github.com/organizations/47638783/team/3227347/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3227347/repos", + "permission": "pull", + "parent": null + }, + { + "name": "devtools", + "id": 3635436, + "node_id": "MDQ6VGVhbTM2MzU0MzY=", + "slug": "devtools", + "description": "team to mention for issues related to developer tools/plugins", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635436", + "html_url": "https://github.com/orgs/quarkusio/teams/devtools", + "members_url": "https://api.github.com/organizations/47638783/team/3635436/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635436/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Honorary", + "id": 3688740, + "node_id": "MDQ6VGVhbTM2ODg3NDA=", + "slug": "honorary", + "description": "No specific rights required but part of the team.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3688740", + "html_url": "https://github.com/orgs/quarkusio/teams/honorary", + "members_url": "https://api.github.com/organizations/47638783/team/3688740/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688740/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ja.quarkus.io", + "id": 4608545, + "node_id": "MDQ6VGVhbTQ2MDg1NDU=", + "slug": "ja-quarkus-io", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4608545", + "html_url": "https://github.com/orgs/quarkusio/teams/ja-quarkus-io", + "members_url": "https://api.github.com/organizations/47638783/team/4608545/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4608545/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Admin", + "id": 3160672, + "node_id": "MDQ6VGVhbTMxNjA2NzI=", + "slug": "quarkus-admin", + "description": "Admin repos", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3160672", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-admin", + "members_url": "https://api.github.com/organizations/47638783/team/3160672/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3160672/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Push", + "id": 3149002, + "node_id": "MDQ6VGVhbTMxNDkwMDI=", + "slug": "quarkus-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149002", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149002/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149002/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Release Managers", + "id": 4027433, + "node_id": "MDQ6VGVhbTQwMjc0MzM=", + "slug": "quarkus-release-managers", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/4027433", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-release-managers", + "members_url": "https://api.github.com/organizations/47638783/team/4027433/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4027433/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Triage", + "id": 3283934, + "node_id": "MDQ6VGVhbTMyODM5MzQ=", + "slug": "quarkus-triage", + "description": "Can assign issues, add labels...", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3283934", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-triage", + "members_url": "https://api.github.com/organizations/47638783/team/3283934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3283934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-insights", + "id": 4639477, + "node_id": "MDQ6VGVhbTQ2Mzk0Nzc=", + "slug": "quarkus-insights", + "description": "Quarkus Insights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4639477", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-insights", + "members_url": "https://api.github.com/organizations/47638783/team/4639477/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4639477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-platform", + "id": 3471846, + "node_id": "MDQ6VGVhbTM0NzE4NDY=", + "slug": "quarkus-platform", + "description": "Push access to platform", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3471846", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-platform", + "members_url": "https://api.github.com/organizations/47638783/team/3471846/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3471846/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-redhat-services", + "id": 5580963, + "node_id": "T_kwDOAtbo_84AVSij", + "slug": "quarkus-redhat-services", + "description": "people who need access to infrastructure docs.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/5580963", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-redhat-services", + "members_url": "https://api.github.com/organizations/47638783/team/5580963/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/5580963/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quickstarts-guardians", + "id": 3232385, + "node_id": "MDQ6VGVhbTMyMzIzODU=", + "slug": "quickstarts-guardians", + "description": "The guardians of the quickstartd", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3232385", + "html_url": "https://github.com/orgs/quarkusio/teams/quickstarts-guardians", + "members_url": "https://api.github.com/organizations/47638783/team/3232385/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3232385/repos", + "permission": "pull", + "parent": null + }, + { + "name": "reactive", + "id": 4674677, + "node_id": "MDQ6VGVhbTQ2NzQ2Nzc=", + "slug": "reactive", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4674677", + "html_url": "https://github.com/orgs/quarkusio/teams/reactive", + "members_url": "https://api.github.com/organizations/47638783/team/4674677/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4674677/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Site Push", + "id": 3149008, + "node_id": "MDQ6VGVhbTMxNDkwMDg=", + "slug": "site-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149008", + "html_url": "https://github.com/orgs/quarkusio/teams/site-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149008/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149008/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Spring Push", + "id": 3688410, + "node_id": "MDQ6VGVhbTM2ODg0MTA=", + "slug": "spring-push", + "description": "People with Spring repo push rights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3688410", + "html_url": "https://github.com/orgs/quarkusio/teams/spring-push", + "members_url": "https://api.github.com/organizations/47638783/team/3688410/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688410/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Stats and bots", + "id": 3315698, + "node_id": "MDQ6VGVhbTMzMTU2OTg=", + "slug": "stats-and-bots", + "description": "Team used for statistics and other bot stuff", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3315698", + "html_url": "https://github.com/orgs/quarkusio/teams/stats-and-bots", + "members_url": "https://api.github.com/organizations/47638783/team/3315698/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3315698/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Workshop writers", + "id": 3406338, + "node_id": "MDQ6VGVhbTM0MDYzMzg=", + "slug": "workshop-writers", + "description": "People editing the workshops repository", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3406338", + "html_url": "https://github.com/orgs/quarkusio/teams/workshop-writers", + "members_url": "https://api.github.com/organizations/47638783/team/3406338/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3406338/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-31.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-31.json new file mode 100644 index 0000000000..1e2a0d340b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-31.json @@ -0,0 +1,282 @@ +[ + { + "name": "bootstrap", + "id": 3635435, + "node_id": "MDQ6VGVhbTM2MzU0MzU=", + "slug": "bootstrap", + "description": "team to ping on issues related to bootstrap ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635435", + "html_url": "https://github.com/orgs/quarkusio/teams/bootstrap", + "members_url": "https://api.github.com/organizations/47638783/team/3635435/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635435/repos", + "permission": "pull", + "parent": null + }, + { + "name": "camel", + "id": 3821934, + "node_id": "MDQ6VGVhbTM4MjE5MzQ=", + "slug": "camel", + "description": "People interested in helping out when Camel related issues", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3821934", + "html_url": "https://github.com/orgs/quarkusio/teams/camel", + "members_url": "https://api.github.com/organizations/47638783/team/3821934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3821934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "committerhelp", + "id": 3962365, + "node_id": "MDQ6VGVhbTM5NjIzNjU=", + "slug": "committerhelp", + "description": "Group to ping if have a question as committer ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3962365", + "html_url": "https://github.com/orgs/quarkusio/teams/committerhelp", + "members_url": "https://api.github.com/organizations/47638783/team/3962365/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3962365/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Contributors", + "id": 3227347, + "node_id": "MDQ6VGVhbTMyMjczNDc=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3227347", + "html_url": "https://github.com/orgs/quarkusio/teams/contributors", + "members_url": "https://api.github.com/organizations/47638783/team/3227347/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3227347/repos", + "permission": "pull", + "parent": null + }, + { + "name": "devtools", + "id": 3635436, + "node_id": "MDQ6VGVhbTM2MzU0MzY=", + "slug": "devtools", + "description": "team to mention for issues related to developer tools/plugins", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635436", + "html_url": "https://github.com/orgs/quarkusio/teams/devtools", + "members_url": "https://api.github.com/organizations/47638783/team/3635436/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635436/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Honorary", + "id": 3688740, + "node_id": "MDQ6VGVhbTM2ODg3NDA=", + "slug": "honorary", + "description": "No specific rights required but part of the team.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3688740", + "html_url": "https://github.com/orgs/quarkusio/teams/honorary", + "members_url": "https://api.github.com/organizations/47638783/team/3688740/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688740/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ja.quarkus.io", + "id": 4608545, + "node_id": "MDQ6VGVhbTQ2MDg1NDU=", + "slug": "ja-quarkus-io", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4608545", + "html_url": "https://github.com/orgs/quarkusio/teams/ja-quarkus-io", + "members_url": "https://api.github.com/organizations/47638783/team/4608545/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4608545/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Admin", + "id": 3160672, + "node_id": "MDQ6VGVhbTMxNjA2NzI=", + "slug": "quarkus-admin", + "description": "Admin repos", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3160672", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-admin", + "members_url": "https://api.github.com/organizations/47638783/team/3160672/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3160672/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Push", + "id": 3149002, + "node_id": "MDQ6VGVhbTMxNDkwMDI=", + "slug": "quarkus-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149002", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149002/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149002/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Release Managers", + "id": 4027433, + "node_id": "MDQ6VGVhbTQwMjc0MzM=", + "slug": "quarkus-release-managers", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/4027433", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-release-managers", + "members_url": "https://api.github.com/organizations/47638783/team/4027433/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4027433/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Triage", + "id": 3283934, + "node_id": "MDQ6VGVhbTMyODM5MzQ=", + "slug": "quarkus-triage", + "description": "Can assign issues, add labels...", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3283934", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-triage", + "members_url": "https://api.github.com/organizations/47638783/team/3283934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3283934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-insights", + "id": 4639477, + "node_id": "MDQ6VGVhbTQ2Mzk0Nzc=", + "slug": "quarkus-insights", + "description": "Quarkus Insights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4639477", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-insights", + "members_url": "https://api.github.com/organizations/47638783/team/4639477/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4639477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-platform", + "id": 3471846, + "node_id": "MDQ6VGVhbTM0NzE4NDY=", + "slug": "quarkus-platform", + "description": "Push access to platform", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3471846", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-platform", + "members_url": "https://api.github.com/organizations/47638783/team/3471846/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3471846/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-redhat-services", + "id": 5580963, + "node_id": "T_kwDOAtbo_84AVSij", + "slug": "quarkus-redhat-services", + "description": "people who need access to infrastructure docs.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/5580963", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-redhat-services", + "members_url": "https://api.github.com/organizations/47638783/team/5580963/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/5580963/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quickstarts-guardians", + "id": 3232385, + "node_id": "MDQ6VGVhbTMyMzIzODU=", + "slug": "quickstarts-guardians", + "description": "The guardians of the quickstartd", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3232385", + "html_url": "https://github.com/orgs/quarkusio/teams/quickstarts-guardians", + "members_url": "https://api.github.com/organizations/47638783/team/3232385/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3232385/repos", + "permission": "pull", + "parent": null + }, + { + "name": "reactive", + "id": 4674677, + "node_id": "MDQ6VGVhbTQ2NzQ2Nzc=", + "slug": "reactive", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4674677", + "html_url": "https://github.com/orgs/quarkusio/teams/reactive", + "members_url": "https://api.github.com/organizations/47638783/team/4674677/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4674677/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Site Push", + "id": 3149008, + "node_id": "MDQ6VGVhbTMxNDkwMDg=", + "slug": "site-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149008", + "html_url": "https://github.com/orgs/quarkusio/teams/site-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149008/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149008/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Spring Push", + "id": 3688410, + "node_id": "MDQ6VGVhbTM2ODg0MTA=", + "slug": "spring-push", + "description": "People with Spring repo push rights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3688410", + "html_url": "https://github.com/orgs/quarkusio/teams/spring-push", + "members_url": "https://api.github.com/organizations/47638783/team/3688410/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688410/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Stats and bots", + "id": 3315698, + "node_id": "MDQ6VGVhbTMzMTU2OTg=", + "slug": "stats-and-bots", + "description": "Team used for statistics and other bot stuff", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3315698", + "html_url": "https://github.com/orgs/quarkusio/teams/stats-and-bots", + "members_url": "https://api.github.com/organizations/47638783/team/3315698/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3315698/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Workshop writers", + "id": 3406338, + "node_id": "MDQ6VGVhbTM0MDYzMzg=", + "slug": "workshop-writers", + "description": "People editing the workshops repository", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3406338", + "html_url": "https://github.com/orgs/quarkusio/teams/workshop-writers", + "members_url": "https://api.github.com/organizations/47638783/team/3406338/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3406338/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-33.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-33.json new file mode 100644 index 0000000000..1e2a0d340b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-33.json @@ -0,0 +1,282 @@ +[ + { + "name": "bootstrap", + "id": 3635435, + "node_id": "MDQ6VGVhbTM2MzU0MzU=", + "slug": "bootstrap", + "description": "team to ping on issues related to bootstrap ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635435", + "html_url": "https://github.com/orgs/quarkusio/teams/bootstrap", + "members_url": "https://api.github.com/organizations/47638783/team/3635435/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635435/repos", + "permission": "pull", + "parent": null + }, + { + "name": "camel", + "id": 3821934, + "node_id": "MDQ6VGVhbTM4MjE5MzQ=", + "slug": "camel", + "description": "People interested in helping out when Camel related issues", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3821934", + "html_url": "https://github.com/orgs/quarkusio/teams/camel", + "members_url": "https://api.github.com/organizations/47638783/team/3821934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3821934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "committerhelp", + "id": 3962365, + "node_id": "MDQ6VGVhbTM5NjIzNjU=", + "slug": "committerhelp", + "description": "Group to ping if have a question as committer ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3962365", + "html_url": "https://github.com/orgs/quarkusio/teams/committerhelp", + "members_url": "https://api.github.com/organizations/47638783/team/3962365/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3962365/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Contributors", + "id": 3227347, + "node_id": "MDQ6VGVhbTMyMjczNDc=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3227347", + "html_url": "https://github.com/orgs/quarkusio/teams/contributors", + "members_url": "https://api.github.com/organizations/47638783/team/3227347/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3227347/repos", + "permission": "pull", + "parent": null + }, + { + "name": "devtools", + "id": 3635436, + "node_id": "MDQ6VGVhbTM2MzU0MzY=", + "slug": "devtools", + "description": "team to mention for issues related to developer tools/plugins", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635436", + "html_url": "https://github.com/orgs/quarkusio/teams/devtools", + "members_url": "https://api.github.com/organizations/47638783/team/3635436/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635436/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Honorary", + "id": 3688740, + "node_id": "MDQ6VGVhbTM2ODg3NDA=", + "slug": "honorary", + "description": "No specific rights required but part of the team.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3688740", + "html_url": "https://github.com/orgs/quarkusio/teams/honorary", + "members_url": "https://api.github.com/organizations/47638783/team/3688740/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688740/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ja.quarkus.io", + "id": 4608545, + "node_id": "MDQ6VGVhbTQ2MDg1NDU=", + "slug": "ja-quarkus-io", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4608545", + "html_url": "https://github.com/orgs/quarkusio/teams/ja-quarkus-io", + "members_url": "https://api.github.com/organizations/47638783/team/4608545/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4608545/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Admin", + "id": 3160672, + "node_id": "MDQ6VGVhbTMxNjA2NzI=", + "slug": "quarkus-admin", + "description": "Admin repos", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3160672", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-admin", + "members_url": "https://api.github.com/organizations/47638783/team/3160672/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3160672/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Push", + "id": 3149002, + "node_id": "MDQ6VGVhbTMxNDkwMDI=", + "slug": "quarkus-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149002", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149002/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149002/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Release Managers", + "id": 4027433, + "node_id": "MDQ6VGVhbTQwMjc0MzM=", + "slug": "quarkus-release-managers", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/4027433", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-release-managers", + "members_url": "https://api.github.com/organizations/47638783/team/4027433/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4027433/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Triage", + "id": 3283934, + "node_id": "MDQ6VGVhbTMyODM5MzQ=", + "slug": "quarkus-triage", + "description": "Can assign issues, add labels...", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3283934", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-triage", + "members_url": "https://api.github.com/organizations/47638783/team/3283934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3283934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-insights", + "id": 4639477, + "node_id": "MDQ6VGVhbTQ2Mzk0Nzc=", + "slug": "quarkus-insights", + "description": "Quarkus Insights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4639477", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-insights", + "members_url": "https://api.github.com/organizations/47638783/team/4639477/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4639477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-platform", + "id": 3471846, + "node_id": "MDQ6VGVhbTM0NzE4NDY=", + "slug": "quarkus-platform", + "description": "Push access to platform", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3471846", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-platform", + "members_url": "https://api.github.com/organizations/47638783/team/3471846/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3471846/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-redhat-services", + "id": 5580963, + "node_id": "T_kwDOAtbo_84AVSij", + "slug": "quarkus-redhat-services", + "description": "people who need access to infrastructure docs.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/5580963", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-redhat-services", + "members_url": "https://api.github.com/organizations/47638783/team/5580963/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/5580963/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quickstarts-guardians", + "id": 3232385, + "node_id": "MDQ6VGVhbTMyMzIzODU=", + "slug": "quickstarts-guardians", + "description": "The guardians of the quickstartd", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3232385", + "html_url": "https://github.com/orgs/quarkusio/teams/quickstarts-guardians", + "members_url": "https://api.github.com/organizations/47638783/team/3232385/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3232385/repos", + "permission": "pull", + "parent": null + }, + { + "name": "reactive", + "id": 4674677, + "node_id": "MDQ6VGVhbTQ2NzQ2Nzc=", + "slug": "reactive", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4674677", + "html_url": "https://github.com/orgs/quarkusio/teams/reactive", + "members_url": "https://api.github.com/organizations/47638783/team/4674677/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4674677/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Site Push", + "id": 3149008, + "node_id": "MDQ6VGVhbTMxNDkwMDg=", + "slug": "site-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149008", + "html_url": "https://github.com/orgs/quarkusio/teams/site-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149008/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149008/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Spring Push", + "id": 3688410, + "node_id": "MDQ6VGVhbTM2ODg0MTA=", + "slug": "spring-push", + "description": "People with Spring repo push rights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3688410", + "html_url": "https://github.com/orgs/quarkusio/teams/spring-push", + "members_url": "https://api.github.com/organizations/47638783/team/3688410/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688410/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Stats and bots", + "id": 3315698, + "node_id": "MDQ6VGVhbTMzMTU2OTg=", + "slug": "stats-and-bots", + "description": "Team used for statistics and other bot stuff", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3315698", + "html_url": "https://github.com/orgs/quarkusio/teams/stats-and-bots", + "members_url": "https://api.github.com/organizations/47638783/team/3315698/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3315698/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Workshop writers", + "id": 3406338, + "node_id": "MDQ6VGVhbTM0MDYzMzg=", + "slug": "workshop-writers", + "description": "People editing the workshops repository", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3406338", + "html_url": "https://github.com/orgs/quarkusio/teams/workshop-writers", + "members_url": "https://api.github.com/organizations/47638783/team/3406338/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3406338/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-35.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-35.json new file mode 100644 index 0000000000..1e2a0d340b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_quarkusio_teams-35.json @@ -0,0 +1,282 @@ +[ + { + "name": "bootstrap", + "id": 3635435, + "node_id": "MDQ6VGVhbTM2MzU0MzU=", + "slug": "bootstrap", + "description": "team to ping on issues related to bootstrap ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635435", + "html_url": "https://github.com/orgs/quarkusio/teams/bootstrap", + "members_url": "https://api.github.com/organizations/47638783/team/3635435/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635435/repos", + "permission": "pull", + "parent": null + }, + { + "name": "camel", + "id": 3821934, + "node_id": "MDQ6VGVhbTM4MjE5MzQ=", + "slug": "camel", + "description": "People interested in helping out when Camel related issues", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3821934", + "html_url": "https://github.com/orgs/quarkusio/teams/camel", + "members_url": "https://api.github.com/organizations/47638783/team/3821934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3821934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "committerhelp", + "id": 3962365, + "node_id": "MDQ6VGVhbTM5NjIzNjU=", + "slug": "committerhelp", + "description": "Group to ping if have a question as committer ", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3962365", + "html_url": "https://github.com/orgs/quarkusio/teams/committerhelp", + "members_url": "https://api.github.com/organizations/47638783/team/3962365/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3962365/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Contributors", + "id": 3227347, + "node_id": "MDQ6VGVhbTMyMjczNDc=", + "slug": "contributors", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3227347", + "html_url": "https://github.com/orgs/quarkusio/teams/contributors", + "members_url": "https://api.github.com/organizations/47638783/team/3227347/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3227347/repos", + "permission": "pull", + "parent": null + }, + { + "name": "devtools", + "id": 3635436, + "node_id": "MDQ6VGVhbTM2MzU0MzY=", + "slug": "devtools", + "description": "team to mention for issues related to developer tools/plugins", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3635436", + "html_url": "https://github.com/orgs/quarkusio/teams/devtools", + "members_url": "https://api.github.com/organizations/47638783/team/3635436/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3635436/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Honorary", + "id": 3688740, + "node_id": "MDQ6VGVhbTM2ODg3NDA=", + "slug": "honorary", + "description": "No specific rights required but part of the team.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3688740", + "html_url": "https://github.com/orgs/quarkusio/teams/honorary", + "members_url": "https://api.github.com/organizations/47638783/team/3688740/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688740/repos", + "permission": "pull", + "parent": null + }, + { + "name": "ja.quarkus.io", + "id": 4608545, + "node_id": "MDQ6VGVhbTQ2MDg1NDU=", + "slug": "ja-quarkus-io", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4608545", + "html_url": "https://github.com/orgs/quarkusio/teams/ja-quarkus-io", + "members_url": "https://api.github.com/organizations/47638783/team/4608545/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4608545/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Admin", + "id": 3160672, + "node_id": "MDQ6VGVhbTMxNjA2NzI=", + "slug": "quarkus-admin", + "description": "Admin repos", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3160672", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-admin", + "members_url": "https://api.github.com/organizations/47638783/team/3160672/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3160672/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Push", + "id": 3149002, + "node_id": "MDQ6VGVhbTMxNDkwMDI=", + "slug": "quarkus-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149002", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149002/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149002/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Release Managers", + "id": 4027433, + "node_id": "MDQ6VGVhbTQwMjc0MzM=", + "slug": "quarkus-release-managers", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/4027433", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-release-managers", + "members_url": "https://api.github.com/organizations/47638783/team/4027433/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4027433/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Quarkus Triage", + "id": 3283934, + "node_id": "MDQ6VGVhbTMyODM5MzQ=", + "slug": "quarkus-triage", + "description": "Can assign issues, add labels...", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3283934", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-triage", + "members_url": "https://api.github.com/organizations/47638783/team/3283934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3283934/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-insights", + "id": 4639477, + "node_id": "MDQ6VGVhbTQ2Mzk0Nzc=", + "slug": "quarkus-insights", + "description": "Quarkus Insights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4639477", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-insights", + "members_url": "https://api.github.com/organizations/47638783/team/4639477/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4639477/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-platform", + "id": 3471846, + "node_id": "MDQ6VGVhbTM0NzE4NDY=", + "slug": "quarkus-platform", + "description": "Push access to platform", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3471846", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-platform", + "members_url": "https://api.github.com/organizations/47638783/team/3471846/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3471846/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quarkus-redhat-services", + "id": 5580963, + "node_id": "T_kwDOAtbo_84AVSij", + "slug": "quarkus-redhat-services", + "description": "people who need access to infrastructure docs.", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/5580963", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-redhat-services", + "members_url": "https://api.github.com/organizations/47638783/team/5580963/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/5580963/repos", + "permission": "pull", + "parent": null + }, + { + "name": "quickstarts-guardians", + "id": 3232385, + "node_id": "MDQ6VGVhbTMyMzIzODU=", + "slug": "quickstarts-guardians", + "description": "The guardians of the quickstartd", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3232385", + "html_url": "https://github.com/orgs/quarkusio/teams/quickstarts-guardians", + "members_url": "https://api.github.com/organizations/47638783/team/3232385/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3232385/repos", + "permission": "pull", + "parent": null + }, + { + "name": "reactive", + "id": 4674677, + "node_id": "MDQ6VGVhbTQ2NzQ2Nzc=", + "slug": "reactive", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/4674677", + "html_url": "https://github.com/orgs/quarkusio/teams/reactive", + "members_url": "https://api.github.com/organizations/47638783/team/4674677/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4674677/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Site Push", + "id": 3149008, + "node_id": "MDQ6VGVhbTMxNDkwMDg=", + "slug": "site-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149008", + "html_url": "https://github.com/orgs/quarkusio/teams/site-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149008/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149008/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Spring Push", + "id": 3688410, + "node_id": "MDQ6VGVhbTM2ODg0MTA=", + "slug": "spring-push", + "description": "People with Spring repo push rights", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3688410", + "html_url": "https://github.com/orgs/quarkusio/teams/spring-push", + "members_url": "https://api.github.com/organizations/47638783/team/3688410/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3688410/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Stats and bots", + "id": 3315698, + "node_id": "MDQ6VGVhbTMzMTU2OTg=", + "slug": "stats-and-bots", + "description": "Team used for statistics and other bot stuff", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3315698", + "html_url": "https://github.com/orgs/quarkusio/teams/stats-and-bots", + "members_url": "https://api.github.com/organizations/47638783/team/3315698/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3315698/repos", + "permission": "pull", + "parent": null + }, + { + "name": "Workshop writers", + "id": 3406338, + "node_id": "MDQ6VGVhbTM0MDYzMzg=", + "slug": "workshop-writers", + "description": "People editing the workshops repository", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3406338", + "html_url": "https://github.com/orgs/quarkusio/teams/workshop-writers", + "members_url": "https://api.github.com/organizations/47638783/team/3406338/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3406338/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_redhat-developer-46.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_redhat-developer-46.json new file mode 100644 index 0000000000..8c5a8b00ab --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_redhat-developer-46.json @@ -0,0 +1,55 @@ +{ + "login": "redhat-developer", + "id": 11033755, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjExMDMzNzU1", + "url": "https://api.github.com/orgs/redhat-developer", + "repos_url": "https://api.github.com/orgs/redhat-developer/repos", + "events_url": "https://api.github.com/orgs/redhat-developer/events", + "hooks_url": "https://api.github.com/orgs/redhat-developer/hooks", + "issues_url": "https://api.github.com/orgs/redhat-developer/issues", + "members_url": "https://api.github.com/orgs/redhat-developer/members{/member}", + "public_members_url": "https://api.github.com/orgs/redhat-developer/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/11033755?v=4", + "description": "Github home of the Red Hat Developer program.", + "name": "Red Hat Developer", + "company": null, + "blog": "http://developers.redhat.com", + "location": null, + "email": "developers@redhat.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 180, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/redhat-developer", + "created_at": "2015-02-16T18:30:56Z", + "updated_at": "2020-03-05T16:09:31Z", + "type": "Organization", + "total_private_repos": 10, + "owned_private_repos": 10, + "private_gists": null, + "disk_usage": null, + "collaborators": null, + "billing_email": null, + "default_repository_permission": null, + "members_can_create_repositories": true, + "two_factor_requirement_enabled": null, + "members_allowed_repository_creation_type": "all", + "members_can_create_public_repositories": true, + "members_can_create_private_repositories": true, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": true, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "bronze", + "space": 976562499, + "private_repos": 10, + "filled_seats": 348, + "seats": 0 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_redhat-developer_teams-47.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_redhat-developer_teams-47.json new file mode 100644 index 0000000000..0d64b8bec2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/orgs_redhat-developer_teams-47.json @@ -0,0 +1,470 @@ +[ + { + "name": "devtools", + "id": 1823096, + "node_id": "MDQ6VGVhbTE4MjMwOTY=", + "slug": "devtools", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/1823096", + "html_url": "https://github.com/orgs/redhat-developer/teams/devtools", + "members_url": "https://api.github.com/organizations/11033755/team/1823096/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/1823096/repos", + "permission": "pull", + "parent": null + }, + { + "name": "developers.redhat.com - Push", + "id": 1920446, + "node_id": "MDQ6VGVhbTE5MjA0NDY=", + "slug": "developers-redhat-com-push", + "description": "Push access to developers.redhat.com repo", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/1920446", + "html_url": "https://github.com/orgs/redhat-developer/teams/developers-redhat-com-push", + "members_url": "https://api.github.com/organizations/11033755/team/1920446/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/1920446/repos", + "permission": "pull", + "parent": null + }, + { + "name": "rhd-server-admins", + "id": 2024733, + "node_id": "MDQ6VGVhbTIwMjQ3MzM=", + "slug": "rhd-server-admins", + "description": "People who need to administer the RHD CI and other servers", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2024733", + "html_url": "https://github.com/orgs/redhat-developer/teams/rhd-server-admins", + "members_url": "https://api.github.com/organizations/11033755/team/2024733/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2024733/repos", + "permission": "pull", + "parent": null + }, + { + "name": "rhd-blog", + "id": 2024862, + "node_id": "MDQ6VGVhbTIwMjQ4NjI=", + "slug": "rhd-blog", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2024862", + "html_url": "https://github.com/orgs/redhat-developer/teams/rhd-blog", + "members_url": "https://api.github.com/organizations/11033755/team/2024862/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2024862/repos", + "permission": "pull", + "parent": null + }, + { + "name": "rhd-backups push", + "id": 2033750, + "node_id": "MDQ6VGVhbTIwMzM3NTA=", + "slug": "rhd-backups-push", + "description": "Push access to rhd-backups", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2033750", + "html_url": "https://github.com/orgs/redhat-developer/teams/rhd-backups-push", + "members_url": "https://api.github.com/organizations/11033755/team/2033750/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2033750/repos", + "permission": "pull", + "parent": null + }, + { + "name": "redhat-sso", + "id": 2033889, + "node_id": "MDQ6VGVhbTIwMzM4ODk=", + "slug": "redhat-sso", + "description": "Admins of redhat-sso repositories", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2033889", + "html_url": "https://github.com/orgs/redhat-developer/teams/redhat-sso", + "members_url": "https://api.github.com/organizations/11033755/team/2033889/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2033889/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bayesian-admin", + "id": 2038488, + "node_id": "MDQ6VGVhbTIwMzg0ODg=", + "slug": "bayesian-admin", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2038488", + "html_url": "https://github.com/orgs/redhat-developer/teams/bayesian-admin", + "members_url": "https://api.github.com/organizations/11033755/team/2038488/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2038488/repos", + "permission": "pull", + "parent": null + }, + { + "name": "bayesian", + "id": 2038490, + "node_id": "MDQ6VGVhbTIwMzg0OTA=", + "slug": "bayesian", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2038490", + "html_url": "https://github.com/orgs/redhat-developer/teams/bayesian", + "members_url": "https://api.github.com/organizations/11033755/team/2038490/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2038490/repos", + "permission": "pull", + "parent": null + }, + { + "name": "s2i-dotnetcore-admin", + "id": 2082393, + "node_id": "MDQ6VGVhbTIwODIzOTM=", + "slug": "s2i-dotnetcore-admin", + "description": "Admins for s2i-dotnetcore repo", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2082393", + "html_url": "https://github.com/orgs/redhat-developer/teams/s2i-dotnetcore-admin", + "members_url": "https://api.github.com/organizations/11033755/team/2082393/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2082393/repos", + "permission": "pull", + "parent": null + }, + { + "name": "vscode", + "id": 2150924, + "node_id": "MDQ6VGVhbTIxNTA5MjQ=", + "slug": "vscode", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2150924", + "html_url": "https://github.com/orgs/redhat-developer/teams/vscode", + "members_url": "https://api.github.com/organizations/11033755/team/2150924/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2150924/repos", + "permission": "pull", + "parent": null + }, + { + "name": "vertx-quickstarts", + "id": 2164149, + "node_id": "MDQ6VGVhbTIxNjQxNDk=", + "slug": "vertx-quickstarts", + "description": "Admins of Vert.x QuickStart Repositories", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2164149", + "html_url": "https://github.com/orgs/redhat-developer/teams/vertx-quickstarts", + "members_url": "https://api.github.com/organizations/11033755/team/2164149/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2164149/repos", + "permission": "pull", + "parent": null + }, + { + "name": "che", + "id": 2198345, + "node_id": "MDQ6VGVhbTIxOTgzNDU=", + "slug": "che", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2198345", + "html_url": "https://github.com/orgs/redhat-developer/teams/che", + "members_url": "https://api.github.com/organizations/11033755/team/2198345/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2198345/repos", + "permission": "pull", + "parent": null + }, + { + "name": "che-admin", + "id": 2566661, + "node_id": "MDQ6VGVhbTI1NjY2NjE=", + "slug": "che-admin", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2566661", + "html_url": "https://github.com/orgs/redhat-developer/teams/che-admin", + "members_url": "https://api.github.com/organizations/11033755/team/2566661/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2566661/repos", + "permission": "pull", + "parent": { + "name": "che", + "id": 2198345, + "node_id": "MDQ6VGVhbTIxOTgzNDU=", + "slug": "che", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2198345", + "html_url": "https://github.com/orgs/redhat-developer/teams/che", + "members_url": "https://api.github.com/organizations/11033755/team/2198345/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2198345/repos", + "permission": "pull" + } + }, + { + "name": "dotnet-qe", + "id": 2724417, + "node_id": "MDQ6VGVhbTI3MjQ0MTc=", + "slug": "dotnet-qe", + "description": ".NET Core Quality Engineering", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2724417", + "html_url": "https://github.com/orgs/redhat-developer/teams/dotnet-qe", + "members_url": "https://api.github.com/organizations/11033755/team/2724417/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2724417/repos", + "permission": "pull", + "parent": { + "name": "dotnet-team", + "id": 3151097, + "node_id": "MDQ6VGVhbTMxNTEwOTc=", + "slug": "dotnet-team", + "description": ".NET Core Team", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3151097", + "html_url": "https://github.com/orgs/redhat-developer/teams/dotnet-team", + "members_url": "https://api.github.com/organizations/11033755/team/3151097/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3151097/repos", + "permission": "pull" + } + }, + { + "name": "dotnet-admin", + "id": 2724420, + "node_id": "MDQ6VGVhbTI3MjQ0MjA=", + "slug": "dotnet-admin", + "description": ".NET Core Team with push permissions", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2724420", + "html_url": "https://github.com/orgs/redhat-developer/teams/dotnet-admin", + "members_url": "https://api.github.com/organizations/11033755/team/2724420/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2724420/repos", + "permission": "pull", + "parent": { + "name": "dotnet-team", + "id": 3151097, + "node_id": "MDQ6VGVhbTMxNTEwOTc=", + "slug": "dotnet-team", + "description": ".NET Core Team", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3151097", + "html_url": "https://github.com/orgs/redhat-developer/teams/dotnet-team", + "members_url": "https://api.github.com/organizations/11033755/team/3151097/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3151097/repos", + "permission": "pull" + } + }, + { + "name": "design-docs", + "id": 2743695, + "node_id": "MDQ6VGVhbTI3NDM2OTU=", + "slug": "design-docs", + "description": "Documentation for RHD brand standards and design systems.", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2743695", + "html_url": "https://github.com/orgs/redhat-developer/teams/design-docs", + "members_url": "https://api.github.com/organizations/11033755/team/2743695/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2743695/repos", + "permission": "pull", + "parent": null + }, + { + "name": "cdk-minishift", + "id": 2749349, + "node_id": "MDQ6VGVhbTI3NDkzNDk=", + "slug": "cdk-minishift", + "description": "Red Hat CDK Team", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2749349", + "html_url": "https://github.com/orgs/redhat-developer/teams/cdk-minishift", + "members_url": "https://api.github.com/organizations/11033755/team/2749349/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2749349/repos", + "permission": "pull", + "parent": null + }, + { + "name": "vscode-openshift", + "id": 2839264, + "node_id": "MDQ6VGVhbTI4MzkyNjQ=", + "slug": "vscode-openshift", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2839264", + "html_url": "https://github.com/orgs/redhat-developer/teams/vscode-openshift", + "members_url": "https://api.github.com/organizations/11033755/team/2839264/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2839264/repos", + "permission": "pull", + "parent": null + }, + { + "name": "odo-mantainers", + "id": 2952494, + "node_id": "MDQ6VGVhbTI5NTI0OTQ=", + "slug": "odo-mantainers", + "description": "Mantainers with write access to ODO project related repositories", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/2952494", + "html_url": "https://github.com/orgs/redhat-developer/teams/odo-mantainers", + "members_url": "https://api.github.com/organizations/11033755/team/2952494/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/2952494/repos", + "permission": "pull", + "parent": { + "name": "odo", + "id": 5688050, + "node_id": "T_kwDOAKhcm84AVsry", + "slug": "odo", + "description": "People involved in developing odo", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/5688050", + "html_url": "https://github.com/orgs/redhat-developer/teams/odo", + "members_url": "https://api.github.com/organizations/11033755/team/5688050/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/5688050/repos", + "permission": "pull" + } + }, + { + "name": "rhd-makers", + "id": 3029762, + "node_id": "MDQ6VGVhbTMwMjk3NjI=", + "slug": "rhd-makers", + "description": "Members of the Red Hat Developer Content Team.", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3029762", + "html_url": "https://github.com/orgs/redhat-developer/teams/rhd-makers", + "members_url": "https://api.github.com/organizations/11033755/team/3029762/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3029762/repos", + "permission": "pull", + "parent": null + }, + { + "name": "devfile", + "id": 3046957, + "node_id": "MDQ6VGVhbTMwNDY5NTc=", + "slug": "devfile", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3046957", + "html_url": "https://github.com/orgs/redhat-developer/teams/devfile", + "members_url": "https://api.github.com/organizations/11033755/team/3046957/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3046957/repos", + "permission": "pull", + "parent": null + }, + { + "name": "OpenShiftDevConsole", + "id": 3120176, + "node_id": "MDQ6VGVhbTMxMjAxNzY=", + "slug": "openshiftdevconsole", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3120176", + "html_url": "https://github.com/orgs/redhat-developer/teams/openshiftdevconsole", + "members_url": "https://api.github.com/organizations/11033755/team/3120176/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3120176/repos", + "permission": "pull", + "parent": null + }, + { + "name": "dotnet-team", + "id": 3151097, + "node_id": "MDQ6VGVhbTMxNTEwOTc=", + "slug": "dotnet-team", + "description": ".NET Core Team", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3151097", + "html_url": "https://github.com/orgs/redhat-developer/teams/dotnet-team", + "members_url": "https://api.github.com/organizations/11033755/team/3151097/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3151097/repos", + "permission": "pull", + "parent": null + }, + { + "name": "DevConsole-dev", + "id": 3165657, + "node_id": "MDQ6VGVhbTMxNjU2NTc=", + "slug": "devconsole-dev", + "description": "Developers working on DevConsole operator and related backend services", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3165657", + "html_url": "https://github.com/orgs/redhat-developer/teams/devconsole-dev", + "members_url": "https://api.github.com/organizations/11033755/team/3165657/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3165657/repos", + "permission": "pull", + "parent": null + }, + { + "name": "tekton", + "id": 3288837, + "node_id": "MDQ6VGVhbTMyODg4Mzc=", + "slug": "tekton", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3288837", + "html_url": "https://github.com/orgs/redhat-developer/teams/tekton", + "members_url": "https://api.github.com/organizations/11033755/team/3288837/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3288837/repos", + "permission": "pull", + "parent": null + }, + { + "name": "app-sre", + "id": 3313166, + "node_id": "MDQ6VGVhbTMzMTMxNjY=", + "slug": "app-sre", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3313166", + "html_url": "https://github.com/orgs/redhat-developer/teams/app-sre", + "members_url": "https://api.github.com/organizations/11033755/team/3313166/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3313166/repos", + "permission": "pull", + "parent": null + }, + { + "name": "openshift-dev-services", + "id": 3336664, + "node_id": "MDQ6VGVhbTMzMzY2NjQ=", + "slug": "openshift-dev-services", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3336664", + "html_url": "https://github.com/orgs/redhat-developer/teams/openshift-dev-services", + "members_url": "https://api.github.com/organizations/11033755/team/3336664/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3336664/repos", + "permission": "pull", + "parent": null + }, + { + "name": "jenkins-operator", + "id": 3368025, + "node_id": "MDQ6VGVhbTMzNjgwMjU=", + "slug": "jenkins-operator", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3368025", + "html_url": "https://github.com/orgs/redhat-developer/teams/jenkins-operator", + "members_url": "https://api.github.com/organizations/11033755/team/3368025/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3368025/repos", + "permission": "pull", + "parent": null + }, + { + "name": "intellij", + "id": 3472672, + "node_id": "MDQ6VGVhbTM0NzI2NzI=", + "slug": "intellij", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3472672", + "html_url": "https://github.com/orgs/redhat-developer/teams/intellij", + "members_url": "https://api.github.com/organizations/11033755/team/3472672/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3472672/repos", + "permission": "pull", + "parent": null + }, + { + "name": "tekton-hub-maintainers", + "id": 3640336, + "node_id": "MDQ6VGVhbTM2NDAzMzY=", + "slug": "tekton-hub-maintainers", + "description": "Developers and maintainers of Tekton Hub", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3640336", + "html_url": "https://github.com/orgs/redhat-developer/teams/tekton-hub-maintainers", + "members_url": "https://api.github.com/organizations/11033755/team/3640336/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3640336/repos", + "permission": "pull", + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user-1.json deleted file mode 100644 index 41fc9e3d00..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user-1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "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": 168, - "public_gists": 4, - "followers": 136, - "following": 9, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2019-09-24T19:32:29Z", - "private_gists": 7, - "total_private_repos": 9, - "owned_private_repos": 0, - "disk_usage": 33697, - "collaborators": 0, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user-5.json new file mode 100644 index 0000000000..5827caf11e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user-5.json @@ -0,0 +1,46 @@ +{ + "login": "gsmet", + "id": 1279749, + "node_id": "MDQ6VXNlcjEyNzk3NDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4", + "gravatar_id": "", + "url": "https://api.github.com/users/gsmet", + "html_url": "https://github.com/gsmet", + "followers_url": "https://api.github.com/users/gsmet/followers", + "following_url": "https://api.github.com/users/gsmet/following{/other_user}", + "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions", + "organizations_url": "https://api.github.com/users/gsmet/orgs", + "repos_url": "https://api.github.com/users/gsmet/repos", + "events_url": "https://api.github.com/users/gsmet/events{/privacy}", + "received_events_url": "https://api.github.com/users/gsmet/received_events", + "type": "User", + "site_admin": false, + "name": "Guillaume Smet", + "company": "Red Hat", + "blog": "https://lesincroyableslivres.fr/", + "location": "Lyon, France", + "email": "guillaume.smet@gmail.com", + "hireable": null, + "bio": "Happy camper at Red Hat, working on Quarkus and the Hibernate portfolio.", + "twitter_username": "gsmet_", + "public_repos": 140, + "public_gists": 15, + "followers": 173, + "following": 3, + "created_at": "2011-12-22T11:03:22Z", + "updated_at": "2022-02-11T15:07:48Z", + "private_gists": 14, + "total_private_repos": 4, + "owned_private_repos": 1, + "disk_usage": 70847, + "collaborators": 1, + "two_factor_authentication": true, + "plan": { + "name": "free", + "space": 976562499, + "collaborators": 0, + "private_repos": 10000 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user_teams-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user_teams-1.json new file mode 100644 index 0000000000..f70953040b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user_teams-1.json @@ -0,0 +1,1472 @@ +[ + { + "name": "Admins", + "id": 9226, + "node_id": "MDQ6VGVhbTkyMjY=", + "slug": "admins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/9226", + "html_url": "https://github.com/orgs/hibernate/teams/admins", + "members_url": "https://api.github.com/organizations/348262/team/9226/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/9226/repos", + "permission": "pull", + "created_at": "2007-10-20T11:24:19Z", + "updated_at": "2017-01-04T13:55:03Z", + "members_count": 6, + "repos_count": 26, + "organization": { + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "core-dev", + "id": 17219, + "node_id": "MDQ6VGVhbTE3MjE5", + "slug": "core-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/17219", + "html_url": "https://github.com/orgs/beanvalidation/teams/core-dev", + "members_url": "https://api.github.com/organizations/420577/team/17219/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/17219/repos", + "permission": "push", + "created_at": "2007-10-20T11:24:19Z", + "updated_at": "2007-10-20T11:24:19Z", + "members_count": 4, + "repos_count": 2, + "organization": { + "login": "beanvalidation", + "id": 420577, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQyMDU3Nw==", + "url": "https://api.github.com/orgs/beanvalidation", + "repos_url": "https://api.github.com/orgs/beanvalidation/repos", + "events_url": "https://api.github.com/orgs/beanvalidation/events", + "hooks_url": "https://api.github.com/orgs/beanvalidation/hooks", + "issues_url": "https://api.github.com/orgs/beanvalidation/issues", + "members_url": "https://api.github.com/orgs/beanvalidation/members{/member}", + "public_members_url": "https://api.github.com/orgs/beanvalidation/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/420577?v=4", + "description": "API, specification, TCK and website of the Bean Validation spec (currently migrated to the Jakarta EE umbrella)", + "name": "Bean Validation", + "company": null, + "blog": "https://beanvalidation.org", + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 3, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/beanvalidation", + "created_at": "2010-09-29T10:33:42Z", + "updated_at": "2021-12-01T20:18:49Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "core-dev", + "id": 18292, + "node_id": "MDQ6VGVhbTE4Mjky", + "slug": "core-dev", + "description": "Hibernate ORM developers", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18292", + "html_url": "https://github.com/orgs/hibernate/teams/core-dev", + "members_url": "https://api.github.com/organizations/348262/team/18292/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18292/repos", + "permission": "push", + "created_at": "2007-10-20T11:24:19Z", + "updated_at": "2019-07-30T16:03:02Z", + "members_count": 26, + "repos_count": 14, + "organization": { + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "validator-dev", + "id": 18526, + "node_id": "MDQ6VGVhbTE4NTI2", + "slug": "validator-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/18526", + "html_url": "https://github.com/orgs/hibernate/teams/validator-dev", + "members_url": "https://api.github.com/organizations/348262/team/18526/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/18526/repos", + "permission": "push", + "created_at": "2007-10-20T11:24:19Z", + "updated_at": "2007-10-20T11:24:19Z", + "members_count": 9, + "repos_count": 2, + "organization": { + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "search-dev", + "id": 19466, + "node_id": "MDQ6VGVhbTE5NDY2", + "slug": "search-dev", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/19466", + "html_url": "https://github.com/orgs/hibernate/teams/search-dev", + "members_url": "https://api.github.com/organizations/348262/team/19466/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/19466/repos", + "permission": "push", + "created_at": "2007-10-20T11:24:19Z", + "updated_at": "2016-02-03T15:17:54Z", + "members_count": 6, + "repos_count": 13, + "organization": { + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "ogm-dev", + "id": 50709, + "node_id": "MDQ6VGVhbTUwNzA5", + "slug": "ogm-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/50709", + "html_url": "https://github.com/orgs/hibernate/teams/ogm-dev", + "members_url": "https://api.github.com/organizations/348262/team/50709/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/50709/repos", + "permission": "push", + "created_at": "2007-10-20T11:24:19Z", + "updated_at": "2007-10-20T11:24:19Z", + "members_count": 6, + "repos_count": 12, + "organization": { + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "Website", + "id": 102843, + "node_id": "MDQ6VGVhbTEwMjg0Mw==", + "slug": "website", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/102843", + "html_url": "https://github.com/orgs/beanvalidation/teams/website", + "members_url": "https://api.github.com/organizations/420577/team/102843/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/102843/repos", + "permission": "push", + "created_at": "2007-10-20T11:24:19Z", + "updated_at": "2007-10-20T11:24:19Z", + "members_count": 4, + "repos_count": 2, + "organization": { + "login": "beanvalidation", + "id": 420577, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQyMDU3Nw==", + "url": "https://api.github.com/orgs/beanvalidation", + "repos_url": "https://api.github.com/orgs/beanvalidation/repos", + "events_url": "https://api.github.com/orgs/beanvalidation/events", + "hooks_url": "https://api.github.com/orgs/beanvalidation/hooks", + "issues_url": "https://api.github.com/orgs/beanvalidation/issues", + "members_url": "https://api.github.com/orgs/beanvalidation/members{/member}", + "public_members_url": "https://api.github.com/orgs/beanvalidation/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/420577?v=4", + "description": "API, specification, TCK and website of the Bean Validation spec (currently migrated to the Jakarta EE umbrella)", + "name": "Bean Validation", + "company": null, + "blog": "https://beanvalidation.org", + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 3, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/beanvalidation", + "created_at": "2010-09-29T10:33:42Z", + "updated_at": "2021-12-01T20:18:49Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "Committers", + "id": 106459, + "node_id": "MDQ6VGVhbTEwNjQ1OQ==", + "slug": "committers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/951365/team/106459", + "html_url": "https://github.com/orgs/pressgang/teams/committers", + "members_url": "https://api.github.com/organizations/951365/team/106459/members{/member}", + "repositories_url": "https://api.github.com/organizations/951365/team/106459/repos", + "permission": "push", + "created_at": "2007-10-20T11:24:19Z", + "updated_at": "2007-10-20T11:24:19Z", + "members_count": 6, + "repos_count": 4, + "organization": { + "login": "pressgang", + "id": 951365, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjk1MTM2NQ==", + "url": "https://api.github.com/orgs/pressgang", + "repos_url": "https://api.github.com/orgs/pressgang/repos", + "events_url": "https://api.github.com/orgs/pressgang/events", + "hooks_url": "https://api.github.com/orgs/pressgang/hooks", + "issues_url": "https://api.github.com/orgs/pressgang/issues", + "members_url": "https://api.github.com/orgs/pressgang/members{/member}", + "public_members_url": "https://api.github.com/orgs/pressgang/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/951365?v=4", + "description": "PressGang is everything related to documentation tooling/writing for community projects.", + "name": "PressGang (JBoss)", + "company": null, + "blog": "http://www.jboss.org/pressgang", + "location": "Brisbane, Australia", + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 6, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/pressgang", + "created_at": "2011-08-01T09:38:51Z", + "updated_at": "2015-04-13T14:07:44Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "bloggers", + "id": 253214, + "node_id": "MDQ6VGVhbTI1MzIxNA==", + "slug": "bloggers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/253214", + "html_url": "https://github.com/orgs/hibernate/teams/bloggers", + "members_url": "https://api.github.com/organizations/348262/team/253214/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/253214/repos", + "permission": "push", + "created_at": "2012-09-25T16:13:12Z", + "updated_at": "2012-09-25T16:13:12Z", + "members_count": 24, + "repos_count": 1, + "organization": { + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "website-dev", + "id": 455869, + "node_id": "MDQ6VGVhbTQ1NTg2OQ==", + "slug": "website-dev", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/455869", + "html_url": "https://github.com/orgs/hibernate/teams/website-dev", + "members_url": "https://api.github.com/organizations/348262/team/455869/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/455869/repos", + "permission": "push", + "created_at": "2013-07-19T08:49:41Z", + "updated_at": "2013-07-19T08:49:41Z", + "members_count": 13, + "repos_count": 6, + "organization": { + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "openwide-jenkins", + "id": 584242, + "node_id": "MDQ6VGVhbTU4NDI0Mg==", + "slug": "openwide-jenkins", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/3957826/team/584242", + "html_url": "https://github.com/orgs/pole-numerique/teams/openwide-jenkins", + "members_url": "https://api.github.com/organizations/3957826/team/584242/members{/member}", + "repositories_url": "https://api.github.com/organizations/3957826/team/584242/repos", + "permission": "push", + "created_at": "2013-11-27T07:59:03Z", + "updated_at": "2013-11-27T07:59:03Z", + "members_count": 1, + "repos_count": 0, + "organization": { + "login": "pole-numerique", + "id": 3957826, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM5NTc4MjY=", + "url": "https://api.github.com/orgs/pole-numerique", + "repos_url": "https://api.github.com/orgs/pole-numerique/repos", + "events_url": "https://api.github.com/orgs/pole-numerique/events", + "hooks_url": "https://api.github.com/orgs/pole-numerique/hooks", + "issues_url": "https://api.github.com/orgs/pole-numerique/issues", + "members_url": "https://api.github.com/orgs/pole-numerique/members{/member}", + "public_members_url": "https://api.github.com/orgs/pole-numerique/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/3957826?v=4", + "description": "", + "name": "Pôle Numérique", + "company": null, + "blog": null, + "location": "Valence (France)", + "email": "contact@ozwillo.org", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 0, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/pole-numerique", + "created_at": "2013-03-24T19:02:09Z", + "updated_at": "2016-06-26T05:58:54Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "Core", + "id": 594895, + "node_id": "MDQ6VGVhbTU5NDg5NQ==", + "slug": "core", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/6114742/team/594895", + "html_url": "https://github.com/orgs/apidae-tourisme/teams/core", + "members_url": "https://api.github.com/organizations/6114742/team/594895/members{/member}", + "repositories_url": "https://api.github.com/organizations/6114742/team/594895/repos", + "permission": "admin", + "created_at": "2013-12-05T14:11:12Z", + "updated_at": "2017-09-29T09:53:46Z", + "members_count": 8, + "repos_count": 7, + "organization": { + "login": "apidae-tourisme", + "id": 6114742, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjYxMTQ3NDI=", + "url": "https://api.github.com/orgs/apidae-tourisme", + "repos_url": "https://api.github.com/orgs/apidae-tourisme/repos", + "events_url": "https://api.github.com/orgs/apidae-tourisme/events", + "hooks_url": "https://api.github.com/orgs/apidae-tourisme/hooks", + "issues_url": "https://api.github.com/orgs/apidae-tourisme/issues", + "members_url": "https://api.github.com/orgs/apidae-tourisme/members{/member}", + "public_members_url": "https://api.github.com/orgs/apidae-tourisme/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/6114742?v=4", + "description": "", + "name": "Apidae tourisme", + "company": null, + "blog": "http://dev.apidae-tourisme.com/", + "location": "France", + "email": "hotline.dev@apidae-tourisme.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 19, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/apidae-tourisme", + "created_at": "2013-12-05T14:11:12Z", + "updated_at": "2022-01-04T11:03:59Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "public-speakers", + "id": 803247, + "node_id": "MDQ6VGVhbTgwMzI0Nw==", + "slug": "public-speakers", + "description": "People doing presentations and live demos", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/803247", + "html_url": "https://github.com/orgs/hibernate/teams/public-speakers", + "members_url": "https://api.github.com/organizations/348262/team/803247/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/803247/repos", + "permission": "push", + "created_at": "2014-04-29T09:08:05Z", + "updated_at": "2014-04-29T09:08:05Z", + "members_count": 11, + "repos_count": 1, + "organization": { + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "admin", + "id": 1915689, + "node_id": "MDQ6VGVhbTE5MTU2ODk=", + "slug": "admin", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/420577/team/1915689", + "html_url": "https://github.com/orgs/beanvalidation/teams/admin", + "members_url": "https://api.github.com/organizations/420577/team/1915689/members{/member}", + "repositories_url": "https://api.github.com/organizations/420577/team/1915689/repos", + "permission": "pull", + "created_at": "2016-02-03T14:20:43Z", + "updated_at": "2016-02-03T14:20:43Z", + "members_count": 5, + "repos_count": 3, + "organization": { + "login": "beanvalidation", + "id": 420577, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQyMDU3Nw==", + "url": "https://api.github.com/orgs/beanvalidation", + "repos_url": "https://api.github.com/orgs/beanvalidation/repos", + "events_url": "https://api.github.com/orgs/beanvalidation/events", + "hooks_url": "https://api.github.com/orgs/beanvalidation/hooks", + "issues_url": "https://api.github.com/orgs/beanvalidation/issues", + "members_url": "https://api.github.com/orgs/beanvalidation/members{/member}", + "public_members_url": "https://api.github.com/orgs/beanvalidation/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/420577?v=4", + "description": "API, specification, TCK and website of the Bean Validation spec (currently migrated to the Jakarta EE umbrella)", + "name": "Bean Validation", + "company": null, + "blog": "https://beanvalidation.org", + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 3, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/beanvalidation", + "created_at": "2010-09-29T10:33:42Z", + "updated_at": "2021-12-01T20:18:49Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "noorm-admins", + "id": 2485689, + "node_id": "MDQ6VGVhbTI0ODU2ODk=", + "slug": "noorm-admins", + "description": "Admin permissions on all noorm repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/2485689", + "html_url": "https://github.com/orgs/hibernate/teams/noorm-admins", + "members_url": "https://api.github.com/organizations/348262/team/2485689/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/2485689/repos", + "permission": "pull", + "created_at": "2017-09-15T13:36:53Z", + "updated_at": "2017-09-15T13:36:53Z", + "members_count": 5, + "repos_count": 12, + "organization": { + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "ci-ext", + "id": 2926968, + "node_id": "MDQ6VGVhbTI5MjY5Njg=", + "slug": "ci-ext", + "description": "ci.ext.devshift.users with rebuild and cancel job permissions", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/2926968", + "html_url": "https://github.com/orgs/app-sre/teams/ci-ext", + "members_url": "https://api.github.com/organizations/43133889/team/2926968/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/2926968/repos", + "permission": "pull", + "created_at": "2018-09-20T10:20:17Z", + "updated_at": "2018-09-20T10:20:17Z", + "members_count": 525, + "repos_count": 0, + "organization": { + "login": "app-sre", + "id": 43133889, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQzMTMzODg5", + "url": "https://api.github.com/orgs/app-sre", + "repos_url": "https://api.github.com/orgs/app-sre/repos", + "events_url": "https://api.github.com/orgs/app-sre/events", + "hooks_url": "https://api.github.com/orgs/app-sre/hooks", + "issues_url": "https://api.github.com/orgs/app-sre/issues", + "members_url": "https://api.github.com/orgs/app-sre/members{/member}", + "public_members_url": "https://api.github.com/orgs/app-sre/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/43133889?v=4", + "description": "Application SRE @ Red Hat - Service Delivery", + "name": "AppSRE", + "company": null, + "blog": null, + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 71, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/app-sre", + "created_at": "2018-09-10T09:07:00Z", + "updated_at": "2022-02-25T15:38:15Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "Protean Push", + "id": 3040999, + "node_id": "MDQ6VGVhbTMwNDA5OTk=", + "slug": "protean-push", + "description": "Members of the protean team that can push into repositories", + "privacy": "secret", + "url": "https://api.github.com/organizations/326816/team/3040999", + "html_url": "https://github.com/orgs/jbossas/teams/protean-push", + "members_url": "https://api.github.com/organizations/326816/team/3040999/members{/member}", + "repositories_url": "https://api.github.com/organizations/326816/team/3040999/repos", + "permission": "pull", + "created_at": "2018-12-13T17:07:00Z", + "updated_at": "2018-12-13T17:07:00Z", + "members_count": 26, + "repos_count": 15, + "organization": { + "login": "jbossas", + "id": 326816, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMyNjgxNg==", + "url": "https://api.github.com/orgs/jbossas", + "repos_url": "https://api.github.com/orgs/jbossas/repos", + "events_url": "https://api.github.com/orgs/jbossas/events", + "hooks_url": "https://api.github.com/orgs/jbossas/hooks", + "issues_url": "https://api.github.com/orgs/jbossas/issues", + "members_url": "https://api.github.com/orgs/jbossas/members{/member}", + "public_members_url": "https://api.github.com/orgs/jbossas/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/326816?v=4", + "description": null, + "name": null, + "company": null, + "blog": null, + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 23, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/jbossas", + "created_at": "2010-07-08T20:43:34Z", + "updated_at": "2018-12-13T16:50:37Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "Quarkus Push", + "id": 3149002, + "node_id": "MDQ6VGVhbTMxNDkwMDI=", + "slug": "quarkus-push", + "description": "", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3149002", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-push", + "members_url": "https://api.github.com/organizations/47638783/team/3149002/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3149002/repos", + "permission": "pull", + "created_at": "2019-03-05T07:32:19Z", + "updated_at": "2019-03-05T07:32:19Z", + "members_count": 44, + "repos_count": 16, + "organization": { + "login": "quarkusio", + "id": 47638783, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3NjM4Nzgz", + "url": "https://api.github.com/orgs/quarkusio", + "repos_url": "https://api.github.com/orgs/quarkusio/repos", + "events_url": "https://api.github.com/orgs/quarkusio/events", + "hooks_url": "https://api.github.com/orgs/quarkusio/hooks", + "issues_url": "https://api.github.com/orgs/quarkusio/issues", + "members_url": "https://api.github.com/orgs/quarkusio/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkusio/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/47638783?v=4", + "description": "Quarkus: Supersonic Subatomic Java", + "name": "QuarkusIO", + "company": null, + "blog": "https://quarkus.io", + "location": "The clouds", + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 47, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/quarkusio", + "created_at": "2019-02-14T16:18:52Z", + "updated_at": "2020-04-08T04:51:14Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "Quarkus Admin", + "id": 3160672, + "node_id": "MDQ6VGVhbTMxNjA2NzI=", + "slug": "quarkus-admin", + "description": "Admin repos", + "privacy": "secret", + "url": "https://api.github.com/organizations/47638783/team/3160672", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-admin", + "members_url": "https://api.github.com/organizations/47638783/team/3160672/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3160672/repos", + "permission": "pull", + "created_at": "2019-03-12T22:29:44Z", + "updated_at": "2019-03-12T22:29:44Z", + "members_count": 6, + "repos_count": 10, + "organization": { + "login": "quarkusio", + "id": 47638783, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3NjM4Nzgz", + "url": "https://api.github.com/orgs/quarkusio", + "repos_url": "https://api.github.com/orgs/quarkusio/repos", + "events_url": "https://api.github.com/orgs/quarkusio/events", + "hooks_url": "https://api.github.com/orgs/quarkusio/hooks", + "issues_url": "https://api.github.com/orgs/quarkusio/issues", + "members_url": "https://api.github.com/orgs/quarkusio/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkusio/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/47638783?v=4", + "description": "Quarkus: Supersonic Subatomic Java", + "name": "QuarkusIO", + "company": null, + "blog": "https://quarkus.io", + "location": "The clouds", + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 47, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/quarkusio", + "created_at": "2019-02-14T16:18:52Z", + "updated_at": "2020-04-08T04:51:14Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "quickstarts-guardians", + "id": 3232385, + "node_id": "MDQ6VGVhbTMyMzIzODU=", + "slug": "quickstarts-guardians", + "description": "The guardians of the quickstartd", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3232385", + "html_url": "https://github.com/orgs/quarkusio/teams/quickstarts-guardians", + "members_url": "https://api.github.com/organizations/47638783/team/3232385/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3232385/repos", + "permission": "pull", + "created_at": "2019-04-29T12:01:16Z", + "updated_at": "2019-04-29T12:01:16Z", + "members_count": 4, + "repos_count": 0, + "organization": { + "login": "quarkusio", + "id": 47638783, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3NjM4Nzgz", + "url": "https://api.github.com/orgs/quarkusio", + "repos_url": "https://api.github.com/orgs/quarkusio/repos", + "events_url": "https://api.github.com/orgs/quarkusio/events", + "hooks_url": "https://api.github.com/orgs/quarkusio/hooks", + "issues_url": "https://api.github.com/orgs/quarkusio/issues", + "members_url": "https://api.github.com/orgs/quarkusio/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkusio/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/47638783?v=4", + "description": "Quarkus: Supersonic Subatomic Java", + "name": "QuarkusIO", + "company": null, + "blog": "https://quarkus.io", + "location": "The clouds", + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 47, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/quarkusio", + "created_at": "2019-02-14T16:18:52Z", + "updated_at": "2020-04-08T04:51:14Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "Quarkus Triage", + "id": 3283934, + "node_id": "MDQ6VGVhbTMyODM5MzQ=", + "slug": "quarkus-triage", + "description": "Can assign issues, add labels...", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3283934", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-triage", + "members_url": "https://api.github.com/organizations/47638783/team/3283934/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3283934/repos", + "permission": "pull", + "created_at": "2019-06-11T09:48:50Z", + "updated_at": "2019-06-11T09:50:01Z", + "members_count": 31, + "repos_count": 3, + "organization": { + "login": "quarkusio", + "id": 47638783, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3NjM4Nzgz", + "url": "https://api.github.com/orgs/quarkusio", + "repos_url": "https://api.github.com/orgs/quarkusio/repos", + "events_url": "https://api.github.com/orgs/quarkusio/events", + "hooks_url": "https://api.github.com/orgs/quarkusio/hooks", + "issues_url": "https://api.github.com/orgs/quarkusio/issues", + "members_url": "https://api.github.com/orgs/quarkusio/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkusio/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/47638783?v=4", + "description": "Quarkus: Supersonic Subatomic Java", + "name": "QuarkusIO", + "company": null, + "blog": "https://quarkus.io", + "location": "The clouds", + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 47, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/quarkusio", + "created_at": "2019-02-14T16:18:52Z", + "updated_at": "2020-04-08T04:51:14Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "ee4j-bean-validation-committers", + "id": 3335319, + "node_id": "MDQ6VGVhbTMzMzUzMTk=", + "slug": "ee4j-bean-validation-committers", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/31900942/team/3335319", + "html_url": "https://github.com/orgs/eclipse-ee4j/teams/ee4j-bean-validation-committers", + "members_url": "https://api.github.com/organizations/31900942/team/3335319/members{/member}", + "repositories_url": "https://api.github.com/organizations/31900942/team/3335319/repos", + "permission": "push", + "created_at": "2019-07-22T20:12:16Z", + "updated_at": "2019-12-04T17:12:51Z", + "members_count": 9, + "repos_count": 3, + "organization": { + "login": "eclipse-ee4j", + "id": 31900942, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjMxOTAwOTQy", + "url": "https://api.github.com/orgs/eclipse-ee4j", + "repos_url": "https://api.github.com/orgs/eclipse-ee4j/repos", + "events_url": "https://api.github.com/orgs/eclipse-ee4j/events", + "hooks_url": "https://api.github.com/orgs/eclipse-ee4j/hooks", + "issues_url": "https://api.github.com/orgs/eclipse-ee4j/issues", + "members_url": "https://api.github.com/orgs/eclipse-ee4j/members{/member}", + "public_members_url": "https://api.github.com/orgs/eclipse-ee4j/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/31900942?v=4", + "description": "The Eclipse EE4J Project", + "name": "Eclipse EE4J", + "company": null, + "blog": "https://projects.eclipse.org/projects/ee4j", + "location": null, + "email": "ee4j-community@eclipse.org", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 134, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/eclipse-ee4j", + "created_at": "2017-09-12T18:52:04Z", + "updated_at": "2022-02-28T16:59:46Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "ci", + "id": 3351730, + "node_id": "MDQ6VGVhbTMzNTE3MzA=", + "slug": "ci", + "description": "Developers allowed to create/update *any* job on CI", + "privacy": "secret", + "url": "https://api.github.com/organizations/348262/team/3351730", + "html_url": "https://github.com/orgs/hibernate/teams/ci", + "members_url": "https://api.github.com/organizations/348262/team/3351730/members{/member}", + "repositories_url": "https://api.github.com/organizations/348262/team/3351730/repos", + "permission": "pull", + "created_at": "2019-08-05T16:15:54Z", + "updated_at": "2019-08-05T16:15:54Z", + "members_count": 10, + "repos_count": 2, + "organization": { + "login": "hibernate", + "id": 348262, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjM0ODI2Mg==", + "url": "https://api.github.com/orgs/hibernate", + "repos_url": "https://api.github.com/orgs/hibernate/repos", + "events_url": "https://api.github.com/orgs/hibernate/events", + "hooks_url": "https://api.github.com/orgs/hibernate/hooks", + "issues_url": "https://api.github.com/orgs/hibernate/issues", + "members_url": "https://api.github.com/orgs/hibernate/members{/member}", + "public_members_url": "https://api.github.com/orgs/hibernate/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/348262?v=4", + "description": "", + "name": "Hibernate", + "company": null, + "blog": "hibernate.org", + "location": null, + "email": null, + "twitter_username": "Hibernate", + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hibernate", + "created_at": "2010-07-29T14:31:39Z", + "updated_at": "2022-02-23T15:06:08Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "app-sre-observability", + "id": 3367218, + "node_id": "MDQ6VGVhbTMzNjcyMTg=", + "slug": "app-sre-observability", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3367218", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-observability", + "members_url": "https://api.github.com/organizations/43133889/team/3367218/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3367218/repos", + "permission": "pull", + "created_at": "2019-08-18T13:11:45Z", + "updated_at": "2019-08-18T13:11:45Z", + "members_count": 856, + "repos_count": 0, + "organization": { + "login": "app-sre", + "id": 43133889, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQzMTMzODg5", + "url": "https://api.github.com/orgs/app-sre", + "repos_url": "https://api.github.com/orgs/app-sre/repos", + "events_url": "https://api.github.com/orgs/app-sre/events", + "hooks_url": "https://api.github.com/orgs/app-sre/hooks", + "issues_url": "https://api.github.com/orgs/app-sre/issues", + "members_url": "https://api.github.com/orgs/app-sre/members{/member}", + "public_members_url": "https://api.github.com/orgs/app-sre/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/43133889?v=4", + "description": "Application SRE @ Red Hat - Service Delivery", + "name": "AppSRE", + "company": null, + "blog": null, + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 71, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/app-sre", + "created_at": "2018-09-10T09:07:00Z", + "updated_at": "2022-02-25T15:38:15Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "quarkus-platform", + "id": 3471846, + "node_id": "MDQ6VGVhbTM0NzE4NDY=", + "slug": "quarkus-platform", + "description": "Push access to platform", + "privacy": "closed", + "url": "https://api.github.com/organizations/47638783/team/3471846", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-platform", + "members_url": "https://api.github.com/organizations/47638783/team/3471846/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3471846/repos", + "permission": "pull", + "created_at": "2019-10-15T21:39:28Z", + "updated_at": "2019-10-15T21:39:28Z", + "members_count": 6, + "repos_count": 1, + "organization": { + "login": "quarkusio", + "id": 47638783, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3NjM4Nzgz", + "url": "https://api.github.com/orgs/quarkusio", + "repos_url": "https://api.github.com/orgs/quarkusio/repos", + "events_url": "https://api.github.com/orgs/quarkusio/events", + "hooks_url": "https://api.github.com/orgs/quarkusio/hooks", + "issues_url": "https://api.github.com/orgs/quarkusio/issues", + "members_url": "https://api.github.com/orgs/quarkusio/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkusio/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/47638783?v=4", + "description": "Quarkus: Supersonic Subatomic Java", + "name": "QuarkusIO", + "company": null, + "blog": "https://quarkus.io", + "location": "The clouds", + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 47, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/quarkusio", + "created_at": "2019-02-14T16:18:52Z", + "updated_at": "2020-04-08T04:51:14Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "vault-app-interface-quarkus", + "id": 3522544, + "node_id": "MDQ6VGVhbTM1MjI1NDQ=", + "slug": "vault-app-interface-quarkus", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3522544", + "html_url": "https://github.com/orgs/app-sre/teams/vault-app-interface-quarkus", + "members_url": "https://api.github.com/organizations/43133889/team/3522544/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3522544/repos", + "permission": "pull", + "created_at": "2019-11-14T12:06:48Z", + "updated_at": "2019-11-14T12:06:48Z", + "members_count": 7, + "repos_count": 0, + "organization": { + "login": "app-sre", + "id": 43133889, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQzMTMzODg5", + "url": "https://api.github.com/orgs/app-sre", + "repos_url": "https://api.github.com/orgs/app-sre/repos", + "events_url": "https://api.github.com/orgs/app-sre/events", + "hooks_url": "https://api.github.com/orgs/app-sre/hooks", + "issues_url": "https://api.github.com/orgs/app-sre/issues", + "members_url": "https://api.github.com/orgs/app-sre/members{/member}", + "public_members_url": "https://api.github.com/orgs/app-sre/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/43133889?v=4", + "description": "Application SRE @ Red Hat - Service Delivery", + "name": "AppSRE", + "company": null, + "blog": null, + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 71, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/app-sre", + "created_at": "2018-09-10T09:07:00Z", + "updated_at": "2022-02-25T15:38:15Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "app-sre-stage-01-cluster", + "id": 3544524, + "node_id": "MDQ6VGVhbTM1NDQ1MjQ=", + "slug": "app-sre-stage-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3544524", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-stage-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3544524/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3544524/repos", + "permission": "pull", + "created_at": "2019-11-28T10:03:57Z", + "updated_at": "2019-11-28T10:03:57Z", + "members_count": 735, + "repos_count": 0, + "organization": { + "login": "app-sre", + "id": 43133889, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQzMTMzODg5", + "url": "https://api.github.com/orgs/app-sre", + "repos_url": "https://api.github.com/orgs/app-sre/repos", + "events_url": "https://api.github.com/orgs/app-sre/events", + "hooks_url": "https://api.github.com/orgs/app-sre/hooks", + "issues_url": "https://api.github.com/orgs/app-sre/issues", + "members_url": "https://api.github.com/orgs/app-sre/members{/member}", + "public_members_url": "https://api.github.com/orgs/app-sre/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/43133889?v=4", + "description": "Application SRE @ Red Hat - Service Delivery", + "name": "AppSRE", + "company": null, + "blog": null, + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 71, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/app-sre", + "created_at": "2018-09-10T09:07:00Z", + "updated_at": "2022-02-25T15:38:15Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "app-sre-prod-01-cluster", + "id": 3561147, + "node_id": "MDQ6VGVhbTM1NjExNDc=", + "slug": "app-sre-prod-01-cluster", + "description": "", + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3561147", + "html_url": "https://github.com/orgs/app-sre/teams/app-sre-prod-01-cluster", + "members_url": "https://api.github.com/organizations/43133889/team/3561147/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3561147/repos", + "permission": "pull", + "created_at": "2019-12-11T13:03:05Z", + "updated_at": "2019-12-11T13:03:05Z", + "members_count": 607, + "repos_count": 0, + "organization": { + "login": "app-sre", + "id": 43133889, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQzMTMzODg5", + "url": "https://api.github.com/orgs/app-sre", + "repos_url": "https://api.github.com/orgs/app-sre/repos", + "events_url": "https://api.github.com/orgs/app-sre/events", + "hooks_url": "https://api.github.com/orgs/app-sre/hooks", + "issues_url": "https://api.github.com/orgs/app-sre/issues", + "members_url": "https://api.github.com/orgs/app-sre/members{/member}", + "public_members_url": "https://api.github.com/orgs/app-sre/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/43133889?v=4", + "description": "Application SRE @ Red Hat - Service Delivery", + "name": "AppSRE", + "company": null, + "blog": null, + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 71, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/app-sre", + "created_at": "2018-09-10T09:07:00Z", + "updated_at": "2022-02-25T15:38:15Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "code-quarkus", + "id": 3673101, + "node_id": "MDQ6VGVhbTM2NzMxMDE=", + "slug": "code-quarkus", + "description": "Red Hat Code Quarkus Team", + "privacy": "closed", + "url": "https://api.github.com/organizations/11033755/team/3673101", + "html_url": "https://github.com/orgs/redhat-developer/teams/code-quarkus", + "members_url": "https://api.github.com/organizations/11033755/team/3673101/members{/member}", + "repositories_url": "https://api.github.com/organizations/11033755/team/3673101/repos", + "permission": "pull", + "created_at": "2020-02-24T17:57:07Z", + "updated_at": "2020-02-24T17:57:07Z", + "members_count": 6, + "repos_count": 2, + "organization": { + "login": "redhat-developer", + "id": 11033755, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjExMDMzNzU1", + "url": "https://api.github.com/orgs/redhat-developer", + "repos_url": "https://api.github.com/orgs/redhat-developer/repos", + "events_url": "https://api.github.com/orgs/redhat-developer/events", + "hooks_url": "https://api.github.com/orgs/redhat-developer/hooks", + "issues_url": "https://api.github.com/orgs/redhat-developer/issues", + "members_url": "https://api.github.com/orgs/redhat-developer/members{/member}", + "public_members_url": "https://api.github.com/orgs/redhat-developer/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/11033755?v=4", + "description": "Github home of the Red Hat Developer program.", + "name": "Red Hat Developer", + "company": null, + "blog": "http://developers.redhat.com", + "location": null, + "email": "developers@redhat.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 180, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/redhat-developer", + "created_at": "2015-02-16T18:30:56Z", + "updated_at": "2020-03-05T16:09:31Z", + "type": "Organization" + }, + "parent": null + }, + { + "name": "ci-int", + "id": 3899872, + "node_id": "MDQ6VGVhbTM4OTk4NzI=", + "slug": "ci-int", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/43133889/team/3899872", + "html_url": "https://github.com/orgs/app-sre/teams/ci-int", + "members_url": "https://api.github.com/organizations/43133889/team/3899872/members{/member}", + "repositories_url": "https://api.github.com/organizations/43133889/team/3899872/repos", + "permission": "pull", + "created_at": "2020-06-17T13:13:11Z", + "updated_at": "2020-06-17T13:13:11Z", + "members_count": 591, + "repos_count": 0, + "organization": { + "login": "app-sre", + "id": 43133889, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQzMTMzODg5", + "url": "https://api.github.com/orgs/app-sre", + "repos_url": "https://api.github.com/orgs/app-sre/repos", + "events_url": "https://api.github.com/orgs/app-sre/events", + "hooks_url": "https://api.github.com/orgs/app-sre/hooks", + "issues_url": "https://api.github.com/orgs/app-sre/issues", + "members_url": "https://api.github.com/orgs/app-sre/members{/member}", + "public_members_url": "https://api.github.com/orgs/app-sre/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/43133889?v=4", + "description": "Application SRE @ Red Hat - Service Delivery", + "name": "AppSRE", + "company": null, + "blog": null, + "location": null, + "email": null, + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 71, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/app-sre", + "created_at": "2018-09-10T09:07:00Z", + "updated_at": "2022-02-25T15:38:15Z", + "type": "Organization" + }, + "parent": null + } +] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user_teams-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user_teams-2.json index de04e11b28..04e2a25ea5 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user_teams-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/__files/user_teams-2.json @@ -1,1256 +1,515 @@ [ { - "name": "scm-api-plugin Developers", - "id": 496711, - "node_id": "MDQ6VGVhbTQ5NjcxMQ==", - "slug": "scm-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/496711", - "html_url": "https://github.com/orgs/jenkinsci/teams/scm-api-plugin-developers", - "members_url": "https://api.github.com/teams/496711/members{/member}", - "repositories_url": "https://api.github.com/teams/496711/repos", - "permission": "pull", - "created_at": "2013-09-09T21:29:09Z", - "updated_at": "2015-12-15T16:43:11Z", - "members_count": 4, - "repos_count": 1, - "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", - "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", - "is_verified": false, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2192, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", - "type": "Organization" - } - }, - { - "name": "Owners", - "id": 663296, - "node_id": "MDQ6VGVhbTY2MzI5Ng==", - "slug": "owners", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/663296", - "html_url": "https://github.com/orgs/beautify-web/teams/owners", - "members_url": "https://api.github.com/teams/663296/members{/member}", - "repositories_url": "https://api.github.com/teams/663296/repos", - "permission": "admin", - "created_at": "2014-01-29T19:42:53Z", - "updated_at": "2014-01-29T19:42:53Z", - "members_count": 2, - "repos_count": 1, - "organization": { - "login": "beautify-web", - "id": 6538164, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjY1MzgxNjQ=", - "url": "https://api.github.com/orgs/beautify-web", - "repos_url": "https://api.github.com/orgs/beautify-web/repos", - "events_url": "https://api.github.com/orgs/beautify-web/events", - "hooks_url": "https://api.github.com/orgs/beautify-web/hooks", - "issues_url": "https://api.github.com/orgs/beautify-web/issues", - "members_url": "https://api.github.com/orgs/beautify-web/members{/member}", - "public_members_url": "https://api.github.com/orgs/beautify-web/public_members{/member}", - "avatar_url": "https://avatars1.githubusercontent.com/u/6538164?v=4", - "description": null, - "is_verified": false, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 1, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/beautify-web", - "created_at": "2014-01-29T19:42:53Z", - "updated_at": "2019-09-20T14:31:51Z", - "type": "Organization" - } - }, - { - "name": "script-security-plugin Developers", - "id": 711073, - "node_id": "MDQ6VGVhbTcxMTA3Mw==", - "slug": "script-security-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/711073", - "html_url": "https://github.com/orgs/jenkinsci/teams/script-security-plugin-developers", - "members_url": "https://api.github.com/teams/711073/members{/member}", - "repositories_url": "https://api.github.com/teams/711073/repos", - "permission": "pull", - "created_at": "2014-02-28T22:18:37Z", - "updated_at": "2015-12-15T16:43:11Z", - "members_count": 6, - "repos_count": 1, - "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", - "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", - "is_verified": false, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2192, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", - "type": "Organization" - } - }, - { - "name": "Owners", - "id": 820404, - "node_id": "MDQ6VGVhbTgyMDQwNA==", - "slug": "owners", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/820404", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/owners", - "members_url": "https://api.github.com/teams/820404/members{/member}", - "repositories_url": "https://api.github.com/teams/820404/repos", - "permission": "admin", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2014-05-10T19:39:11Z", - "members_count": 3, - "repos_count": 6, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - } - }, - { - "name": "team-documentation", - "id": 879403, - "node_id": "MDQ6VGVhbTg3OTQwMw==", - "slug": "team-documentation", - "description": "People who can contribute to documentation", - "privacy": "closed", - "url": "https://api.github.com/teams/879403", - "html_url": "https://github.com/orgs/cloudbees/teams/team-documentation", - "members_url": "https://api.github.com/teams/879403/members{/member}", - "repositories_url": "https://api.github.com/teams/879403/repos", - "permission": "push", - "created_at": "2014-06-19T14:19:24Z", - "updated_at": "2015-08-20T05:46:39Z", - "members_count": 49, - "repos_count": 13, - "organization": { - "login": "cloudbees", - "id": 235526, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNTUyNg==", - "url": "https://api.github.com/orgs/cloudbees", - "repos_url": "https://api.github.com/orgs/cloudbees/repos", - "events_url": "https://api.github.com/orgs/cloudbees/events", - "hooks_url": "https://api.github.com/orgs/cloudbees/hooks", - "issues_url": "https://api.github.com/orgs/cloudbees/issues", - "members_url": "https://api.github.com/orgs/cloudbees/members{/member}", - "public_members_url": "https://api.github.com/orgs/cloudbees/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/235526?v=4", - "description": "", - "name": "CloudBees", - "company": null, - "blog": "https://www.cloudbees.com/", - "location": null, - "email": null, - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 130, - "public_gists": 4, - "followers": 0, - "following": 0, - "html_url": "https://github.com/cloudbees", - "created_at": "2010-04-02T07:24:48Z", - "updated_at": "2018-07-26T22:36:42Z", - "type": "Organization" - } - }, - { - "name": "team-infra-cloudbees-employees", - "id": 1450069, - "node_id": "MDQ6VGVhbTE0NTAwNjk=", - "slug": "team-infra-cloudbees-employees", - "description": "CloudBees employees - simple group that grants read access.", + "name": "committerhelp", + "id": 3962365, + "node_id": "MDQ6VGVhbTM5NjIzNjU=", + "slug": "committerhelp", + "description": "Group to ping if have a question as committer ", "privacy": "closed", - "url": "https://api.github.com/teams/1450069", - "html_url": "https://github.com/orgs/cloudbees/teams/team-infra-cloudbees-employees", - "members_url": "https://api.github.com/teams/1450069/members{/member}", - "repositories_url": "https://api.github.com/teams/1450069/repos", - "permission": "pull", - "created_at": "2015-04-20T12:49:53Z", - "updated_at": "2015-09-26T22:31:23Z", - "members_count": 298, - "repos_count": 579, - "organization": { - "login": "cloudbees", - "id": 235526, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNTUyNg==", - "url": "https://api.github.com/orgs/cloudbees", - "repos_url": "https://api.github.com/orgs/cloudbees/repos", - "events_url": "https://api.github.com/orgs/cloudbees/events", - "hooks_url": "https://api.github.com/orgs/cloudbees/hooks", - "issues_url": "https://api.github.com/orgs/cloudbees/issues", - "members_url": "https://api.github.com/orgs/cloudbees/members{/member}", - "public_members_url": "https://api.github.com/orgs/cloudbees/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/235526?v=4", - "description": "", - "name": "CloudBees", - "company": null, - "blog": "https://www.cloudbees.com/", - "location": null, - "email": null, - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 130, - "public_gists": 4, - "followers": 0, - "following": 0, - "html_url": "https://github.com/cloudbees", - "created_at": "2010-04-02T07:24:48Z", - "updated_at": "2018-07-26T22:36:42Z", - "type": "Organization" - } - }, - { - "name": "github-branch-source-plugin Developers", - "id": 1809126, - "node_id": "MDQ6VGVhbTE4MDkxMjY=", - "slug": "github-branch-source-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/1809126", - "html_url": "https://github.com/orgs/jenkinsci/teams/github-branch-source-plugin-developers", - "members_url": "https://api.github.com/teams/1809126/members{/member}", - "repositories_url": "https://api.github.com/teams/1809126/repos", + "url": "https://api.github.com/organizations/47638783/team/3962365", + "html_url": "https://github.com/orgs/quarkusio/teams/committerhelp", + "members_url": "https://api.github.com/organizations/47638783/team/3962365/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/3962365/repos", "permission": "pull", - "created_at": "2015-10-08T16:52:29Z", - "updated_at": "2015-12-15T16:43:08Z", - "members_count": 6, - "repos_count": 1, - "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", - "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", - "is_verified": false, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2192, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", - "type": "Organization" - } - }, - { - "name": "Copy Editors", - "id": 1882929, - "node_id": "MDQ6VGVhbTE4ODI5Mjk=", - "slug": "copy-editors", - "description": "Team of contributors who can act as reviewers and editors for content", - "privacy": "closed", - "url": "https://api.github.com/teams/1882929", - "html_url": "https://github.com/orgs/jenkins-infra/teams/copy-editors", - "members_url": "https://api.github.com/teams/1882929/members{/member}", - "repositories_url": "https://api.github.com/teams/1882929/repos", - "permission": "pull", - "created_at": "2016-01-04T18:02:41Z", - "updated_at": "2016-01-04T18:02:41Z", - "members_count": 12, - "repos_count": 2, - "organization": { - "login": "jenkins-infra", - "id": 7422698, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc0MjI2OTg=", - "url": "https://api.github.com/orgs/jenkins-infra", - "repos_url": "https://api.github.com/orgs/jenkins-infra/repos", - "events_url": "https://api.github.com/orgs/jenkins-infra/events", - "hooks_url": "https://api.github.com/orgs/jenkins-infra/hooks", - "issues_url": "https://api.github.com/orgs/jenkins-infra/issues", - "members_url": "https://api.github.com/orgs/jenkins-infra/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkins-infra/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/7422698?v=4", - "description": "Repositories owned by the Jenkins project infrastructure team", - "name": "Jenkins Infra", - "company": null, - "blog": null, - "location": null, - "email": "infra@lists.jenkins-ci.org", - "is_verified": false, - "has_organization_projects": false, - "has_repository_projects": false, - "public_repos": 75, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkins-infra", - "created_at": "2014-04-27T19:47:26Z", - "updated_at": "2018-08-07T02:50:50Z", - "type": "Organization" - } - }, - { - "name": "Engineering", - "id": 1941826, - "node_id": "MDQ6VGVhbTE5NDE4MjY=", - "slug": "engineering", - "description": "Jenkins, Inc. engineering team", - "privacy": "closed", - "url": "https://api.github.com/teams/1941826", - "html_url": "https://github.com/orgs/jenkins-inc/teams/engineering", - "members_url": "https://api.github.com/teams/1941826/members{/member}", - "repositories_url": "https://api.github.com/teams/1941826/repos", - "permission": "pull", - "created_at": "2016-02-29T18:10:14Z", - "updated_at": "2016-02-29T18:10:14Z", - "members_count": 9, - "repos_count": 4, + "created_at": "2020-07-24T12:13:05Z", + "updated_at": "2020-07-24T12:13:05Z", + "members_count": 2, + "repos_count": 0, "organization": { - "login": "jenkins-inc", - "id": 17552794, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjE3NTUyNzk0", - "url": "https://api.github.com/orgs/jenkins-inc", - "repos_url": "https://api.github.com/orgs/jenkins-inc/repos", - "events_url": "https://api.github.com/orgs/jenkins-inc/events", - "hooks_url": "https://api.github.com/orgs/jenkins-inc/hooks", - "issues_url": "https://api.github.com/orgs/jenkins-inc/issues", - "members_url": "https://api.github.com/orgs/jenkins-inc/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkins-inc/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/17552794?v=4", - "description": "A fictional company to demonstrate Jenkins capabilities", - "name": "Jenkins, Inc.", + "login": "quarkusio", + "id": 47638783, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3NjM4Nzgz", + "url": "https://api.github.com/orgs/quarkusio", + "repos_url": "https://api.github.com/orgs/quarkusio/repos", + "events_url": "https://api.github.com/orgs/quarkusio/events", + "hooks_url": "https://api.github.com/orgs/quarkusio/hooks", + "issues_url": "https://api.github.com/orgs/quarkusio/issues", + "members_url": "https://api.github.com/orgs/quarkusio/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkusio/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/47638783?v=4", + "description": "Quarkus: Supersonic Subatomic Java", + "name": "QuarkusIO", "company": null, - "blog": "http://demo.jenkins-ci.org/", - "location": "Everywhere", + "blog": "https://quarkus.io", + "location": "The clouds", "email": null, + "twitter_username": null, "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 7, + "public_repos": 47, "public_gists": 0, "followers": 0, "following": 0, - "html_url": "https://github.com/jenkins-inc", - "created_at": "2016-02-29T18:02:13Z", - "updated_at": "2016-02-29T18:11:10Z", + "html_url": "https://github.com/quarkusio", + "created_at": "2019-02-14T16:18:52Z", + "updated_at": "2020-04-08T04:51:14Z", "type": "Organization" - } + }, + "parent": null }, { - "name": "workflow-cps-plugin Developers", - "id": 1986920, - "node_id": "MDQ6VGVhbTE5ODY5MjA=", - "slug": "workflow-cps-plugin-developers", - "description": null, + "name": "Quarkus Release Managers", + "id": 4027433, + "node_id": "MDQ6VGVhbTQwMjc0MzM=", + "slug": "quarkus-release-managers", + "description": "", "privacy": "secret", - "url": "https://api.github.com/teams/1986920", - "html_url": "https://github.com/orgs/jenkinsci/teams/workflow-cps-plugin-developers", - "members_url": "https://api.github.com/teams/1986920/members{/member}", - "repositories_url": "https://api.github.com/teams/1986920/repos", + "url": "https://api.github.com/organizations/47638783/team/4027433", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-release-managers", + "members_url": "https://api.github.com/organizations/47638783/team/4027433/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/4027433/repos", "permission": "pull", - "created_at": "2016-04-05T20:24:45Z", - "updated_at": "2016-09-21T17:56:50Z", - "members_count": 7, + "created_at": "2020-08-25T14:10:08Z", + "updated_at": "2020-08-25T14:10:08Z", + "members_count": 3, "repos_count": 1, "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", + "login": "quarkusio", + "id": 47638783, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3NjM4Nzgz", + "url": "https://api.github.com/orgs/quarkusio", + "repos_url": "https://api.github.com/orgs/quarkusio/repos", + "events_url": "https://api.github.com/orgs/quarkusio/events", + "hooks_url": "https://api.github.com/orgs/quarkusio/hooks", + "issues_url": "https://api.github.com/orgs/quarkusio/issues", + "members_url": "https://api.github.com/orgs/quarkusio/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkusio/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/47638783?v=4", + "description": "Quarkus: Supersonic Subatomic Java", + "name": "QuarkusIO", "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", + "blog": "https://quarkus.io", + "location": "The clouds", + "email": null, + "twitter_username": null, "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 2192, + "public_repos": 47, "public_gists": 0, "followers": 0, "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", + "html_url": "https://github.com/quarkusio", + "created_at": "2019-02-14T16:18:52Z", + "updated_at": "2020-04-08T04:51:14Z", "type": "Organization" - } + }, + "parent": null }, { - "name": "Legacy Training Contributors", - "id": 2070581, - "node_id": "MDQ6VGVhbTIwNzA1ODE=", - "slug": "legacy-training-contributors", - "description": "", + "name": "quarkiverse-owners", + "id": 4142453, + "node_id": "MDQ6VGVhbTQxNDI0NTM=", + "slug": "quarkiverse-owners", + "description": "Quarkiverse Owners", "privacy": "closed", - "url": "https://api.github.com/teams/2070581", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-contributors", - "members_url": "https://api.github.com/teams/2070581/members{/member}", - "repositories_url": "https://api.github.com/teams/2070581/repos", + "url": "https://api.github.com/organizations/69191779/team/4142453", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-owners", + "members_url": "https://api.github.com/organizations/69191779/team/4142453/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4142453/repos", "permission": "pull", - "created_at": "2016-07-11T05:03:26Z", - "updated_at": "2019-01-08T18:15:21Z", - "members_count": 12, - "repos_count": 23, - "organization": { - "login": "cloudbees", - "id": 235526, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNTUyNg==", - "url": "https://api.github.com/orgs/cloudbees", - "repos_url": "https://api.github.com/orgs/cloudbees/repos", - "events_url": "https://api.github.com/orgs/cloudbees/events", - "hooks_url": "https://api.github.com/orgs/cloudbees/hooks", - "issues_url": "https://api.github.com/orgs/cloudbees/issues", - "members_url": "https://api.github.com/orgs/cloudbees/members{/member}", - "public_members_url": "https://api.github.com/orgs/cloudbees/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/235526?v=4", - "description": "", - "name": "CloudBees", - "company": null, - "blog": "https://www.cloudbees.com/", - "location": null, - "email": null, - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 130, - "public_gists": 4, - "followers": 0, - "following": 0, - "html_url": "https://github.com/cloudbees", - "created_at": "2010-04-02T07:24:48Z", - "updated_at": "2018-07-26T22:36:42Z", - "type": "Organization" - } - }, - { - "name": "pipeline-model-definition-plugin Developers", - "id": 2185547, - "node_id": "MDQ6VGVhbTIxODU1NDc=", - "slug": "pipeline-model-definition-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2185547", - "html_url": "https://github.com/orgs/jenkinsci/teams/pipeline-model-definition-plugin-developers", - "members_url": "https://api.github.com/teams/2185547/members{/member}", - "repositories_url": "https://api.github.com/teams/2185547/repos", - "permission": "pull", - "created_at": "2016-11-11T21:47:47Z", - "updated_at": "2016-11-25T18:50:15Z", - "members_count": 6, + "created_at": "2020-10-04T18:44:33Z", + "updated_at": "2021-05-11T16:59:47Z", + "members_count": 4, "repos_count": 1, "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", + "login": "quarkiverse", + "id": 69191779, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY5MTkxNzc5", + "url": "https://api.github.com/orgs/quarkiverse", + "repos_url": "https://api.github.com/orgs/quarkiverse/repos", + "events_url": "https://api.github.com/orgs/quarkiverse/events", + "hooks_url": "https://api.github.com/orgs/quarkiverse/hooks", + "issues_url": "https://api.github.com/orgs/quarkiverse/issues", + "members_url": "https://api.github.com/orgs/quarkiverse/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkiverse/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/69191779?v=4", + "description": "A place to host and build Quarkus extensions", + "name": "Quarkiverse Hub", "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", + "blog": "https://github.com/quarkiverse/quarkiverse/wiki", + "location": null, + "email": "quarkus-dev@googlegroups.com", + "twitter_username": null, "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 2192, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", - "type": "Organization" - } - }, - { - "name": "docs", - "id": 2188150, - "node_id": "MDQ6VGVhbTIxODgxNTA=", - "slug": "docs", - "description": "Documentation team", - "privacy": "closed", - "url": "https://api.github.com/teams/2188150", - "html_url": "https://github.com/orgs/jenkins-infra/teams/docs", - "members_url": "https://api.github.com/teams/2188150/members{/member}", - "repositories_url": "https://api.github.com/teams/2188150/repos", - "permission": "pull", - "created_at": "2016-11-15T17:53:23Z", - "updated_at": "2016-11-15T17:53:23Z", - "members_count": 5, - "repos_count": 3, - "organization": { - "login": "jenkins-infra", - "id": 7422698, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc0MjI2OTg=", - "url": "https://api.github.com/orgs/jenkins-infra", - "repos_url": "https://api.github.com/orgs/jenkins-infra/repos", - "events_url": "https://api.github.com/orgs/jenkins-infra/events", - "hooks_url": "https://api.github.com/orgs/jenkins-infra/hooks", - "issues_url": "https://api.github.com/orgs/jenkins-infra/issues", - "members_url": "https://api.github.com/orgs/jenkins-infra/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkins-infra/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/7422698?v=4", - "description": "Repositories owned by the Jenkins project infrastructure team", - "name": "Jenkins Infra", - "company": null, - "blog": null, - "location": null, - "email": "infra@lists.jenkins-ci.org", - "is_verified": false, - "has_organization_projects": false, - "has_repository_projects": false, - "public_repos": 75, + "public_repos": 68, "public_gists": 0, "followers": 0, "following": 0, - "html_url": "https://github.com/jenkins-infra", - "created_at": "2014-04-27T19:47:26Z", - "updated_at": "2018-08-07T02:50:50Z", + "html_url": "https://github.com/quarkiverse", + "created_at": "2020-08-04T08:31:31Z", + "updated_at": "2022-03-02T16:36:46Z", "type": "Organization" + }, + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" } }, { - "name": "site-authors", - "id": 2278154, - "node_id": "MDQ6VGVhbTIyNzgxNTQ=", - "slug": "site-authors", - "description": "Collection of people who work on or write portions of jenkins.io", + "name": "quarkiverse-jjwt-jackson", + "id": 4698127, + "node_id": "MDQ6VGVhbTQ2OTgxMjc=", + "slug": "quarkiverse-jjwt-jackson", + "description": "Quarkiverse team for the jjwt-jackson extension", "privacy": "closed", - "url": "https://api.github.com/teams/2278154", - "html_url": "https://github.com/orgs/jenkins-infra/teams/site-authors", - "members_url": "https://api.github.com/teams/2278154/members{/member}", - "repositories_url": "https://api.github.com/teams/2278154/repos", + "url": "https://api.github.com/organizations/69191779/team/4698127", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-jjwt-jackson", + "members_url": "https://api.github.com/organizations/69191779/team/4698127/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/4698127/repos", "permission": "pull", - "created_at": "2017-02-21T15:40:21Z", - "updated_at": "2017-02-21T15:40:21Z", - "members_count": 5, + "created_at": "2021-04-07T19:27:12Z", + "updated_at": "2021-11-03T15:44:40Z", + "members_count": 1, "repos_count": 1, "organization": { - "login": "jenkins-infra", - "id": 7422698, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc0MjI2OTg=", - "url": "https://api.github.com/orgs/jenkins-infra", - "repos_url": "https://api.github.com/orgs/jenkins-infra/repos", - "events_url": "https://api.github.com/orgs/jenkins-infra/events", - "hooks_url": "https://api.github.com/orgs/jenkins-infra/hooks", - "issues_url": "https://api.github.com/orgs/jenkins-infra/issues", - "members_url": "https://api.github.com/orgs/jenkins-infra/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkins-infra/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/7422698?v=4", - "description": "Repositories owned by the Jenkins project infrastructure team", - "name": "Jenkins Infra", + "login": "quarkiverse", + "id": 69191779, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY5MTkxNzc5", + "url": "https://api.github.com/orgs/quarkiverse", + "repos_url": "https://api.github.com/orgs/quarkiverse/repos", + "events_url": "https://api.github.com/orgs/quarkiverse/events", + "hooks_url": "https://api.github.com/orgs/quarkiverse/hooks", + "issues_url": "https://api.github.com/orgs/quarkiverse/issues", + "members_url": "https://api.github.com/orgs/quarkiverse/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkiverse/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/69191779?v=4", + "description": "A place to host and build Quarkus extensions", + "name": "Quarkiverse Hub", "company": null, - "blog": null, + "blog": "https://github.com/quarkiverse/quarkiverse/wiki", "location": null, - "email": "infra@lists.jenkins-ci.org", - "is_verified": false, - "has_organization_projects": false, - "has_repository_projects": false, - "public_repos": 75, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkins-infra", - "created_at": "2014-04-27T19:47:26Z", - "updated_at": "2018-08-07T02:50:50Z", - "type": "Organization" - } - }, - { - "name": "declarative-rfc-reviewers", - "id": 2300722, - "node_id": "MDQ6VGVhbTIzMDA3MjI=", - "slug": "declarative-rfc-reviewers", - "description": "Declarative RFC Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2300722", - "html_url": "https://github.com/orgs/jenkinsci/teams/declarative-rfc-reviewers", - "members_url": "https://api.github.com/teams/2300722/members{/member}", - "repositories_url": "https://api.github.com/teams/2300722/repos", - "permission": "pull", - "created_at": "2017-03-14T17:26:30Z", - "updated_at": "2017-03-14T17:26:30Z", - "members_count": 8, - "repos_count": 1, - "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", - "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", + "email": "quarkus-dev@googlegroups.com", + "twitter_username": null, "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 2192, + "public_repos": 68, "public_gists": 0, "followers": 0, "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", + "html_url": "https://github.com/quarkiverse", + "created_at": "2020-08-04T08:31:31Z", + "updated_at": "2022-03-02T16:36:46Z", "type": "Organization" + }, + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" } }, { - "name": "cje-reviewers", - "id": 2384898, - "node_id": "MDQ6VGVhbTIzODQ4OTg=", - "slug": "cje-reviewers", - "description": "CJE Reviewers", + "name": "quarkiverse-logging-sentry", + "id": 5300000, + "node_id": "T_kwDOBB_IY84AUN8g", + "slug": "quarkiverse-logging-sentry", + "description": "Quarkiverse team for the Sentry Logging extension", "privacy": "closed", - "url": "https://api.github.com/teams/2384898", - "html_url": "https://github.com/orgs/cloudbees/teams/cje-reviewers", - "members_url": "https://api.github.com/teams/2384898/members{/member}", - "repositories_url": "https://api.github.com/teams/2384898/repos", + "url": "https://api.github.com/organizations/69191779/team/5300000", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-logging-sentry", + "members_url": "https://api.github.com/organizations/69191779/team/5300000/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5300000/repos", "permission": "pull", - "created_at": "2017-06-09T00:06:12Z", - "updated_at": "2017-06-09T00:09:45Z", - "members_count": 9, - "repos_count": 3, - "organization": { - "login": "cloudbees", - "id": 235526, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNTUyNg==", - "url": "https://api.github.com/orgs/cloudbees", - "repos_url": "https://api.github.com/orgs/cloudbees/repos", - "events_url": "https://api.github.com/orgs/cloudbees/events", - "hooks_url": "https://api.github.com/orgs/cloudbees/hooks", - "issues_url": "https://api.github.com/orgs/cloudbees/issues", - "members_url": "https://api.github.com/orgs/cloudbees/members{/member}", - "public_members_url": "https://api.github.com/orgs/cloudbees/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/235526?v=4", - "description": "", - "name": "CloudBees", - "company": null, - "blog": "https://www.cloudbees.com/", - "location": null, - "email": null, - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 130, - "public_gists": 4, - "followers": 0, - "following": 0, - "html_url": "https://github.com/cloudbees", - "created_at": "2010-04-02T07:24:48Z", - "updated_at": "2018-07-26T22:36:42Z", - "type": "Organization" - } - }, - { - "name": "Legacy Training Reviewers", - "id": 2384906, - "node_id": "MDQ6VGVhbTIzODQ5MDY=", - "slug": "legacy-training-reviewers", - "description": "Training Reviewers", - "privacy": "closed", - "url": "https://api.github.com/teams/2384906", - "html_url": "https://github.com/orgs/cloudbees/teams/legacy-training-reviewers", - "members_url": "https://api.github.com/teams/2384906/members{/member}", - "repositories_url": "https://api.github.com/teams/2384906/repos", - "permission": "pull", - "created_at": "2017-06-09T00:13:17Z", - "updated_at": "2019-01-08T18:15:24Z", - "members_count": 10, - "repos_count": 27, - "organization": { - "login": "cloudbees", - "id": 235526, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNTUyNg==", - "url": "https://api.github.com/orgs/cloudbees", - "repos_url": "https://api.github.com/orgs/cloudbees/repos", - "events_url": "https://api.github.com/orgs/cloudbees/events", - "hooks_url": "https://api.github.com/orgs/cloudbees/hooks", - "issues_url": "https://api.github.com/orgs/cloudbees/issues", - "members_url": "https://api.github.com/orgs/cloudbees/members{/member}", - "public_members_url": "https://api.github.com/orgs/cloudbees/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/235526?v=4", - "description": "", - "name": "CloudBees", - "company": null, - "blog": "https://www.cloudbees.com/", - "location": null, - "email": null, - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 130, - "public_gists": 4, - "followers": 0, - "following": 0, - "html_url": "https://github.com/cloudbees", - "created_at": "2010-04-02T07:24:48Z", - "updated_at": "2018-07-26T22:36:42Z", - "type": "Organization" - } - }, - { - "name": "JEP Editors", - "id": 2478842, - "node_id": "MDQ6VGVhbTI0Nzg4NDI=", - "slug": "jep-editors", - "description": "Editors for Jenkins Enhancement Proposals", - "privacy": "closed", - "url": "https://api.github.com/teams/2478842", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-editors", - "members_url": "https://api.github.com/teams/2478842/members{/member}", - "repositories_url": "https://api.github.com/teams/2478842/repos", - "permission": "pull", - "created_at": "2017-09-12T17:49:24Z", - "updated_at": "2017-09-12T17:49:24Z", - "members_count": 5, + "created_at": "2021-10-28T16:05:04Z", + "updated_at": "2021-10-28T19:20:24Z", + "members_count": 2, "repos_count": 1, "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", + "login": "quarkiverse", + "id": 69191779, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY5MTkxNzc5", + "url": "https://api.github.com/orgs/quarkiverse", + "repos_url": "https://api.github.com/orgs/quarkiverse/repos", + "events_url": "https://api.github.com/orgs/quarkiverse/events", + "hooks_url": "https://api.github.com/orgs/quarkiverse/hooks", + "issues_url": "https://api.github.com/orgs/quarkiverse/issues", + "members_url": "https://api.github.com/orgs/quarkiverse/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkiverse/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/69191779?v=4", + "description": "A place to host and build Quarkus extensions", + "name": "Quarkiverse Hub", "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", + "blog": "https://github.com/quarkiverse/quarkiverse/wiki", + "location": null, + "email": "quarkus-dev@googlegroups.com", + "twitter_username": null, "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 2192, + "public_repos": 68, "public_gists": 0, "followers": 0, "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", + "html_url": "https://github.com/quarkiverse", + "created_at": "2020-08-04T08:31:31Z", + "updated_at": "2022-03-02T16:36:46Z", "type": "Organization" + }, + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" } }, { - "name": "hacktoberfest", - "id": 2510135, - "node_id": "MDQ6VGVhbTI1MTAxMzU=", - "slug": "hacktoberfest", - "description": "Jenkins Hacktoberfest Team (reviewers and organizers)", + "name": "quarkiverse-github-app", + "id": 5327479, + "node_id": "T_kwDOBB_IY84AUUp3", + "slug": "quarkiverse-github-app", + "description": "Quarkiverse team for the GitHub App extension", "privacy": "closed", - "url": "https://api.github.com/teams/2510135", - "html_url": "https://github.com/orgs/jenkins-infra/teams/hacktoberfest", - "members_url": "https://api.github.com/teams/2510135/members{/member}", - "repositories_url": "https://api.github.com/teams/2510135/repos", + "url": "https://api.github.com/organizations/69191779/team/5327479", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-app", + "members_url": "https://api.github.com/organizations/69191779/team/5327479/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327479/repos", "permission": "pull", - "created_at": "2017-10-06T18:42:56Z", - "updated_at": "2019-10-02T09:47:48Z", - "members_count": 8, - "repos_count": 3, - "organization": { - "login": "jenkins-infra", - "id": 7422698, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc0MjI2OTg=", - "url": "https://api.github.com/orgs/jenkins-infra", - "repos_url": "https://api.github.com/orgs/jenkins-infra/repos", - "events_url": "https://api.github.com/orgs/jenkins-infra/events", - "hooks_url": "https://api.github.com/orgs/jenkins-infra/hooks", - "issues_url": "https://api.github.com/orgs/jenkins-infra/issues", - "members_url": "https://api.github.com/orgs/jenkins-infra/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkins-infra/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/7422698?v=4", - "description": "Repositories owned by the Jenkins project infrastructure team", - "name": "Jenkins Infra", - "company": null, - "blog": null, - "location": null, - "email": "infra@lists.jenkins-ci.org", - "is_verified": false, - "has_organization_projects": false, - "has_repository_projects": false, - "public_repos": 75, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkins-infra", - "created_at": "2014-04-27T19:47:26Z", - "updated_at": "2018-08-07T02:50:50Z", - "type": "Organization" - } - }, - { - "name": "cn.jenkins.io", - "id": 2658933, - "node_id": "MDQ6VGVhbTI2NTg5MzM=", - "slug": "cn-jenkins-io", - "description": "People who work on Chinese website", - "privacy": "closed", - "url": "https://api.github.com/teams/2658933", - "html_url": "https://github.com/orgs/jenkins-infra/teams/cn-jenkins-io", - "members_url": "https://api.github.com/teams/2658933/members{/member}", - "repositories_url": "https://api.github.com/teams/2658933/repos", - "permission": "pull", - "created_at": "2018-02-20T17:36:21Z", - "updated_at": "2018-02-20T17:36:21Z", - "members_count": 5, + "created_at": "2021-11-03T00:18:24Z", + "updated_at": "2021-11-03T00:18:24Z", + "members_count": 1, "repos_count": 1, "organization": { - "login": "jenkins-infra", - "id": 7422698, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc0MjI2OTg=", - "url": "https://api.github.com/orgs/jenkins-infra", - "repos_url": "https://api.github.com/orgs/jenkins-infra/repos", - "events_url": "https://api.github.com/orgs/jenkins-infra/events", - "hooks_url": "https://api.github.com/orgs/jenkins-infra/hooks", - "issues_url": "https://api.github.com/orgs/jenkins-infra/issues", - "members_url": "https://api.github.com/orgs/jenkins-infra/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkins-infra/public_members{/member}", - "avatar_url": "https://avatars2.githubusercontent.com/u/7422698?v=4", - "description": "Repositories owned by the Jenkins project infrastructure team", - "name": "Jenkins Infra", + "login": "quarkiverse", + "id": 69191779, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY5MTkxNzc5", + "url": "https://api.github.com/orgs/quarkiverse", + "repos_url": "https://api.github.com/orgs/quarkiverse/repos", + "events_url": "https://api.github.com/orgs/quarkiverse/events", + "hooks_url": "https://api.github.com/orgs/quarkiverse/hooks", + "issues_url": "https://api.github.com/orgs/quarkiverse/issues", + "members_url": "https://api.github.com/orgs/quarkiverse/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkiverse/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/69191779?v=4", + "description": "A place to host and build Quarkus extensions", + "name": "Quarkiverse Hub", "company": null, - "blog": null, + "blog": "https://github.com/quarkiverse/quarkiverse/wiki", "location": null, - "email": "infra@lists.jenkins-ci.org", - "is_verified": false, - "has_organization_projects": false, - "has_repository_projects": false, - "public_repos": 75, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkins-infra", - "created_at": "2014-04-27T19:47:26Z", - "updated_at": "2018-08-07T02:50:50Z", - "type": "Organization" - } - }, - { - "name": "JEP Sponsors", - "id": 2832516, - "node_id": "MDQ6VGVhbTI4MzI1MTY=", - "slug": "jep-sponsors", - "description": "JEP Sponsors ", - "privacy": "closed", - "url": "https://api.github.com/teams/2832516", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-sponsors", - "members_url": "https://api.github.com/teams/2832516/members{/member}", - "repositories_url": "https://api.github.com/teams/2832516/repos", - "permission": "pull", - "created_at": "2018-07-21T01:31:23Z", - "updated_at": "2018-07-21T01:32:40Z", - "members_count": 9, - "repos_count": 1, - "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", - "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", + "email": "quarkus-dev@googlegroups.com", + "twitter_username": null, "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 2192, + "public_repos": 68, "public_gists": 0, "followers": 0, "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", + "html_url": "https://github.com/quarkiverse", + "created_at": "2020-08-04T08:31:31Z", + "updated_at": "2022-03-02T16:36:46Z", "type": "Organization" + }, + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" } }, { - "name": "JEP BDFL Delegates", - "id": 2832517, - "node_id": "MDQ6VGVhbTI4MzI1MTc=", - "slug": "jep-bdfl-delegates", - "description": "JEP BDFL Delegates", + "name": "quarkiverse-github-api", + "id": 5327486, + "node_id": "T_kwDOBB_IY84AUUp-", + "slug": "quarkiverse-github-api", + "description": "Quarkiverse team for the GitHub API extension", "privacy": "closed", - "url": "https://api.github.com/teams/2832517", - "html_url": "https://github.com/orgs/jenkinsci/teams/jep-bdfl-delegates", - "members_url": "https://api.github.com/teams/2832517/members{/member}", - "repositories_url": "https://api.github.com/teams/2832517/repos", + "url": "https://api.github.com/organizations/69191779/team/5327486", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-github-api", + "members_url": "https://api.github.com/organizations/69191779/team/5327486/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5327486/repos", "permission": "pull", - "created_at": "2018-07-21T01:33:45Z", - "updated_at": "2018-07-21T01:33:45Z", - "members_count": 2, + "created_at": "2021-11-03T00:24:33Z", + "updated_at": "2021-11-03T00:24:33Z", + "members_count": 1, "repos_count": 1, "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", + "login": "quarkiverse", + "id": 69191779, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY5MTkxNzc5", + "url": "https://api.github.com/orgs/quarkiverse", + "repos_url": "https://api.github.com/orgs/quarkiverse/repos", + "events_url": "https://api.github.com/orgs/quarkiverse/events", + "hooks_url": "https://api.github.com/orgs/quarkiverse/hooks", + "issues_url": "https://api.github.com/orgs/quarkiverse/issues", + "members_url": "https://api.github.com/orgs/quarkiverse/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkiverse/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/69191779?v=4", + "description": "A place to host and build Quarkus extensions", + "name": "Quarkiverse Hub", "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", + "blog": "https://github.com/quarkiverse/quarkiverse/wiki", + "location": null, + "email": "quarkus-dev@googlegroups.com", + "twitter_username": null, "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 2192, + "public_repos": 68, "public_gists": 0, "followers": 0, "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", + "html_url": "https://github.com/quarkiverse", + "created_at": "2020-08-04T08:31:31Z", + "updated_at": "2022-03-02T16:36:46Z", "type": "Organization" + }, + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" } }, { - "name": "pipeline-team", - "id": 2915408, - "node_id": "MDQ6VGVhbTI5MTU0MDg=", - "slug": "pipeline-team", - "description": "pipeline team", + "name": "quarkiverse-opencv", + "id": 5330519, + "node_id": "T_kwDOBB_IY84AUVZX", + "slug": "quarkiverse-opencv", + "description": "Quarkiverse team for the opencv extension", "privacy": "closed", - "url": "https://api.github.com/teams/2915408", - "html_url": "https://github.com/orgs/cloudbees/teams/pipeline-team", - "members_url": "https://api.github.com/teams/2915408/members{/member}", - "repositories_url": "https://api.github.com/teams/2915408/repos", - "permission": "pull", - "created_at": "2018-09-12T08:09:16Z", - "updated_at": "2018-09-12T08:09:16Z", - "members_count": 10, - "repos_count": 11, - "organization": { - "login": "cloudbees", - "id": 235526, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNTUyNg==", - "url": "https://api.github.com/orgs/cloudbees", - "repos_url": "https://api.github.com/orgs/cloudbees/repos", - "events_url": "https://api.github.com/orgs/cloudbees/events", - "hooks_url": "https://api.github.com/orgs/cloudbees/hooks", - "issues_url": "https://api.github.com/orgs/cloudbees/issues", - "members_url": "https://api.github.com/orgs/cloudbees/members{/member}", - "public_members_url": "https://api.github.com/orgs/cloudbees/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/235526?v=4", - "description": "", - "name": "CloudBees", - "company": null, - "blog": "https://www.cloudbees.com/", - "location": null, - "email": null, - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 130, - "public_gists": 4, - "followers": 0, - "following": 0, - "html_url": "https://github.com/cloudbees", - "created_at": "2010-04-02T07:24:48Z", - "updated_at": "2018-07-26T22:36:42Z", - "type": "Organization" - } - }, - { - "name": "branch-api-plugin Developers", - "id": 2934265, - "node_id": "MDQ6VGVhbTI5MzQyNjU=", - "slug": "branch-api-plugin-developers", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/2934265", - "html_url": "https://github.com/orgs/jenkinsci/teams/branch-api-plugin-developers", - "members_url": "https://api.github.com/teams/2934265/members{/member}", - "repositories_url": "https://api.github.com/teams/2934265/repos", + "url": "https://api.github.com/organizations/69191779/team/5330519", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-opencv", + "members_url": "https://api.github.com/organizations/69191779/team/5330519/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5330519/repos", "permission": "pull", - "created_at": "2018-09-25T19:59:22Z", - "updated_at": "2018-09-25T19:59:22Z", - "members_count": 4, + "created_at": "2021-11-03T16:53:53Z", + "updated_at": "2021-11-03T16:53:53Z", + "members_count": 1, "repos_count": 1, "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", + "login": "quarkiverse", + "id": 69191779, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjY5MTkxNzc5", + "url": "https://api.github.com/orgs/quarkiverse", + "repos_url": "https://api.github.com/orgs/quarkiverse/repos", + "events_url": "https://api.github.com/orgs/quarkiverse/events", + "hooks_url": "https://api.github.com/orgs/quarkiverse/hooks", + "issues_url": "https://api.github.com/orgs/quarkiverse/issues", + "members_url": "https://api.github.com/orgs/quarkiverse/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkiverse/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/69191779?v=4", + "description": "A place to host and build Quarkus extensions", + "name": "Quarkiverse Hub", "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", + "blog": "https://github.com/quarkiverse/quarkiverse/wiki", + "location": null, + "email": "quarkus-dev@googlegroups.com", + "twitter_username": null, "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 2192, + "public_repos": 68, "public_gists": 0, "followers": 0, "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", + "html_url": "https://github.com/quarkiverse", + "created_at": "2020-08-04T08:31:31Z", + "updated_at": "2022-03-02T16:36:46Z", "type": "Organization" + }, + "parent": { + "name": "quarkiverse-members", + "id": 5344029, + "node_id": "T_kwDOBB_IY84AUYsd", + "slug": "quarkiverse-members", + "description": "Quarkiverse Members", + "privacy": "closed", + "url": "https://api.github.com/organizations/69191779/team/5344029", + "html_url": "https://github.com/orgs/quarkiverse/teams/quarkiverse-members", + "members_url": "https://api.github.com/organizations/69191779/team/5344029/members{/member}", + "repositories_url": "https://api.github.com/organizations/69191779/team/5344029/repos", + "permission": "pull" } }, { - "name": "audit-log-plugin Developers", - "id": 3023453, - "node_id": "MDQ6VGVhbTMwMjM0NTM=", - "slug": "audit-log-plugin-developers", - "description": null, + "name": "quarkus-redhat-services", + "id": 5580963, + "node_id": "T_kwDOAtbo_84AVSij", + "slug": "quarkus-redhat-services", + "description": "people who need access to infrastructure docs.", "privacy": "secret", - "url": "https://api.github.com/teams/3023453", - "html_url": "https://github.com/orgs/jenkinsci/teams/audit-log-plugin-developers", - "members_url": "https://api.github.com/teams/3023453/members{/member}", - "repositories_url": "https://api.github.com/teams/3023453/repos", - "permission": "pull", - "created_at": "2018-11-29T15:16:26Z", - "updated_at": "2018-11-29T15:16:26Z", - "members_count": 7, - "repos_count": 1, - "organization": { - "login": "jenkinsci", - "id": 107424, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjEwNzQyNA==", - "url": "https://api.github.com/orgs/jenkinsci", - "repos_url": "https://api.github.com/orgs/jenkinsci/repos", - "events_url": "https://api.github.com/orgs/jenkinsci/events", - "hooks_url": "https://api.github.com/orgs/jenkinsci/hooks", - "issues_url": "https://api.github.com/orgs/jenkinsci/issues", - "members_url": "https://api.github.com/orgs/jenkinsci/members{/member}", - "public_members_url": "https://api.github.com/orgs/jenkinsci/public_members{/member}", - "avatar_url": "https://avatars0.githubusercontent.com/u/107424?v=4", - "description": "Jenkins is an open source automation server with an unparalleled plugin ecosystem to support practically every tool as part of your delivery pipelines", - "name": "Jenkins", - "company": null, - "blog": "https://jenkins.io", - "location": "Santa Clara, CA", - "email": "jenkinsci-users@googlegroups.com", - "is_verified": false, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 2192, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/jenkinsci", - "created_at": "2009-07-21T21:03:50Z", - "updated_at": "2019-02-25T15:26:10Z", - "type": "Organization" - } - }, - { - "name": "Certification Reviewers", - "id": 3136781, - "node_id": "MDQ6VGVhbTMxMzY3ODE=", - "slug": "certification-reviewers", - "description": "Group for all those associated with the Certification Review process", - "privacy": "closed", - "url": "https://api.github.com/teams/3136781", - "html_url": "https://github.com/orgs/cloudbees/teams/certification-reviewers", - "members_url": "https://api.github.com/teams/3136781/members{/member}", - "repositories_url": "https://api.github.com/teams/3136781/repos", + "url": "https://api.github.com/organizations/47638783/team/5580963", + "html_url": "https://github.com/orgs/quarkusio/teams/quarkus-redhat-services", + "members_url": "https://api.github.com/organizations/47638783/team/5580963/members{/member}", + "repositories_url": "https://api.github.com/organizations/47638783/team/5580963/repos", "permission": "pull", - "created_at": "2019-02-25T14:47:52Z", - "updated_at": "2019-02-25T14:47:52Z", - "members_count": 75, + "created_at": "2022-01-19T16:58:51Z", + "updated_at": "2022-01-19T16:58:51Z", + "members_count": 6, "repos_count": 1, "organization": { - "login": "cloudbees", - "id": 235526, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjIzNTUyNg==", - "url": "https://api.github.com/orgs/cloudbees", - "repos_url": "https://api.github.com/orgs/cloudbees/repos", - "events_url": "https://api.github.com/orgs/cloudbees/events", - "hooks_url": "https://api.github.com/orgs/cloudbees/hooks", - "issues_url": "https://api.github.com/orgs/cloudbees/issues", - "members_url": "https://api.github.com/orgs/cloudbees/members{/member}", - "public_members_url": "https://api.github.com/orgs/cloudbees/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/235526?v=4", - "description": "", - "name": "CloudBees", + "login": "quarkusio", + "id": 47638783, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjQ3NjM4Nzgz", + "url": "https://api.github.com/orgs/quarkusio", + "repos_url": "https://api.github.com/orgs/quarkusio/repos", + "events_url": "https://api.github.com/orgs/quarkusio/events", + "hooks_url": "https://api.github.com/orgs/quarkusio/hooks", + "issues_url": "https://api.github.com/orgs/quarkusio/issues", + "members_url": "https://api.github.com/orgs/quarkusio/members{/member}", + "public_members_url": "https://api.github.com/orgs/quarkusio/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/47638783?v=4", + "description": "Quarkus: Supersonic Subatomic Java", + "name": "QuarkusIO", "company": null, - "blog": "https://www.cloudbees.com/", - "location": null, + "blog": "https://quarkus.io", + "location": "The clouds", "email": null, - "is_verified": true, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 130, - "public_gists": 4, - "followers": 0, - "following": 0, - "html_url": "https://github.com/cloudbees", - "created_at": "2010-04-02T07:24:48Z", - "updated_at": "2018-07-26T22:36:42Z", - "type": "Organization" - } - }, - { - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "closed", - "url": "https://api.github.com/teams/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/teams/3451996/members{/member}", - "repositories_url": "https://api.github.com/teams/3451996/repos", - "permission": "pull", - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2019-10-03T21:51:11Z", - "members_count": 1, - "repos_count": 0, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "description": null, + "twitter_username": null, "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 9, + "public_repos": 47, "public_gists": 0, "followers": 0, "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", + "html_url": "https://github.com/quarkusio", + "created_at": "2019-02-14T16:18:52Z", + "updated_at": "2020-04-08T04:51:14Z", "type": "Organization" - } + }, + "parent": null } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-11.json deleted file mode 100644 index aea8e6178e..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-11.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "bed0fcfe-7ccc-4b9c-aa07-32e6f68f2b74", - "name": "organizations_107424_teams", - "request": { - "url": "/organizations/107424/teams?page=2", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "organizations_107424_teams-11.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:31 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4907", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"6cacce55e59a3baa70e145476fe3279a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113533:145BEB3:5D96908B", - "Link": "; rel=\"prev\", ; rel=\"first\"" - } - }, - "uuid": "bed0fcfe-7ccc-4b9c-aa07-32e6f68f2b74", - "persistent": true, - "scenarioName": "scenario-2-organizations-107424-teams", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-2-organizations-107424-teams-2", - "insertionIndex": 11 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-20.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-20.json deleted file mode 100644 index d7d6072ce4..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-20.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "2fdc0562-25ee-4ff7-8207-444ebbc94abd", - "name": "organizations_107424_teams", - "request": { - "url": "/organizations/107424/teams?page=2", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "organizations_107424_teams-20.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:32 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4898", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"6cacce55e59a3baa70e145476fe3279a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11135DF:145BF77:5D96908C", - "Link": "; rel=\"prev\", ; rel=\"first\"" - } - }, - "uuid": "2fdc0562-25ee-4ff7-8207-444ebbc94abd", - "persistent": true, - "scenarioName": "scenario-2-organizations-107424-teams", - "requiredScenarioState": "scenario-2-organizations-107424-teams-2", - "newScenarioState": "scenario-2-organizations-107424-teams-3", - "insertionIndex": 20 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-23.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-23.json deleted file mode 100644 index 225d66492d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-23.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "864a80f6-b8f4-4a01-bf1b-06d0977753da", - "name": "organizations_107424_teams", - "request": { - "url": "/organizations/107424/teams?page=2", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "organizations_107424_teams-23.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:33 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4895", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"6cacce55e59a3baa70e145476fe3279a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113607:145BFB3:5D96908D", - "Link": "; rel=\"prev\", ; rel=\"first\"" - } - }, - "uuid": "864a80f6-b8f4-4a01-bf1b-06d0977753da", - "persistent": true, - "scenarioName": "scenario-2-organizations-107424-teams", - "requiredScenarioState": "scenario-2-organizations-107424-teams-3", - "newScenarioState": "scenario-2-organizations-107424-teams-4", - "insertionIndex": 23 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-26.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-26.json deleted file mode 100644 index 3ae1054a5d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_107424_teams-26.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "881e0897-44cd-42c4-88c4-50046ee19a18", - "name": "organizations_107424_teams", - "request": { - "url": "/organizations/107424/teams?page=2", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "organizations_107424_teams-26.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:33 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4892", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"6cacce55e59a3baa70e145476fe3279a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113637:145BFE7:5D96908D", - "Link": "; rel=\"prev\", ; rel=\"first\"" - } - }, - "uuid": "881e0897-44cd-42c4-88c4-50046ee19a18", - "persistent": true, - "scenarioName": "scenario-2-organizations-107424-teams", - "requiredScenarioState": "scenario-2-organizations-107424-teams-4", - "insertionIndex": 26 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_11033755_team_3673101_memberships_gsmet-49.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_11033755_team_3673101_memberships_gsmet-49.json new file mode 100644 index 0000000000..6961632235 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_11033755_team_3673101_memberships_gsmet-49.json @@ -0,0 +1,46 @@ +{ + "id": "938752b1-c40d-43ad-8363-a87608133d6e", + "name": "organizations_11033755_team_3673101_memberships_gsmet", + "request": { + "url": "/organizations/11033755/team/3673101/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/11033755/team/3673101/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:10 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"24f63030f294f7d3c9cb542a2ed8be96e03883942cae023d61a24f5f8fea2581\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4951", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "49", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5CE:BF12:D31815:DE9E29:6221D6F9" + } + }, + "uuid": "938752b1-c40d-43ad-8363-a87608133d6e", + "persistent": true, + "insertionIndex": 49 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_11033755_teams-48.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_11033755_teams-48.json new file mode 100644 index 0000000000..567acd4a22 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_11033755_teams-48.json @@ -0,0 +1,47 @@ +{ + "id": "f8ef246e-4845-4d1e-82ad-4e2178f71d5a", + "name": "organizations_11033755_teams", + "request": { + "url": "/organizations/11033755/teams?page=2", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_11033755_teams-48.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"78dcc7ebe431ecf83b35e5caf2ed39953360cc4b6aff0ad04726ec56e58d36ed\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4952", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "48", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5CC:5E65:17C9F87:18336E7:6221D6F9", + "Link": "; rel=\"prev\", ; rel=\"first\"" + } + }, + "uuid": "f8ef246e-4845-4d1e-82ad-4e2178f71d5a", + "persistent": true, + "insertionIndex": 48 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_235526_teams-35.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_235526_teams-35.json deleted file mode 100644 index f50630858e..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_235526_teams-35.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "8591cc9c-9c1f-46ab-980f-784ed7ad2b54", - "name": "organizations_235526_teams", - "request": { - "url": "/organizations/235526/teams?page=2", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "organizations_235526_teams-35.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:34 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4883", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"44c9656011c8da0be5bb1fe95ef18a44\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11136B6:145C080:5D96908E", - "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" - } - }, - "uuid": "8591cc9c-9c1f-46ab-980f-784ed7ad2b54", - "persistent": true, - "scenarioName": "scenario-4-organizations-235526-teams", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-4-organizations-235526-teams-2", - "insertionIndex": 35 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_235526_teams-44.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_235526_teams-44.json deleted file mode 100644 index 6a3ed3ae8f..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_235526_teams-44.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "3945b427-290f-4fa2-a720-79cb00ba290e", - "name": "organizations_235526_teams", - "request": { - "url": "/organizations/235526/teams?page=2", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "organizations_235526_teams-44.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:36 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4874", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"44c9656011c8da0be5bb1fe95ef18a44\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113733:145C11E:5D969090", - "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" - } - }, - "uuid": "3945b427-290f-4fa2-a720-79cb00ba290e", - "persistent": true, - "scenarioName": "scenario-4-organizations-235526-teams", - "requiredScenarioState": "scenario-4-organizations-235526-teams-2", - "newScenarioState": "scenario-4-organizations-235526-teams-3", - "insertionIndex": 44 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_235526_teams-47.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_235526_teams-47.json deleted file mode 100644 index 14fb7346df..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_235526_teams-47.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "bed3177f-0cd7-4ebb-acff-67cc43fd2504", - "name": "organizations_235526_teams", - "request": { - "url": "/organizations/235526/teams?page=2", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "organizations_235526_teams-47.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:36 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4871", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"44c9656011c8da0be5bb1fe95ef18a44\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113764:145C156:5D969090", - "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" - } - }, - "uuid": "bed3177f-0cd7-4ebb-acff-67cc43fd2504", - "persistent": true, - "scenarioName": "scenario-4-organizations-235526-teams", - "requiredScenarioState": "scenario-4-organizations-235526-teams-3", - "insertionIndex": 47 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_31900942_team_3335319_memberships_gsmet-52.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_31900942_team_3335319_memberships_gsmet-52.json new file mode 100644 index 0000000000..fc32028676 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_31900942_team_3335319_memberships_gsmet-52.json @@ -0,0 +1,46 @@ +{ + "id": "98fd923f-5d6b-4885-b8d9-81174420ddc7", + "name": "organizations_31900942_team_3335319_memberships_gsmet", + "request": { + "url": "/organizations/31900942/team/3335319/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/31900942/team/3335319/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:10 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d0875f2472932072c83ba91bfa2b10cb0fc5a0838eb164596301de088b188223\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4948", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "52", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5D4:B361:1AEA79F:1BBC8A5:6221D6FA" + } + }, + "uuid": "98fd923f-5d6b-4885-b8d9-81174420ddc7", + "persistent": true, + "insertionIndex": 52 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_326816_team_3040999_memberships_gsmet-45.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_326816_team_3040999_memberships_gsmet-45.json new file mode 100644 index 0000000000..c2a78d6196 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_326816_team_3040999_memberships_gsmet-45.json @@ -0,0 +1,46 @@ +{ + "id": "76c1636d-109c-4e54-b8d4-06943c71f729", + "name": "organizations_326816_team_3040999_memberships_gsmet", + "request": { + "url": "/organizations/326816/team/3040999/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/326816/team/3040999/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"77128bfd2d6365450272185f8885c9a019b7e7d454733a1060cb5910cfc05e31\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4955", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "45", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5C6:361E:3FA7BEB:40B887A:6221D6F9" + } + }, + "uuid": "76c1636d-109c-4e54-b8d4-06943c71f729", + "persistent": true, + "insertionIndex": 45 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_18292_memberships_gsmet-63.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_18292_memberships_gsmet-63.json new file mode 100644 index 0000000000..ead8446889 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_18292_memberships_gsmet-63.json @@ -0,0 +1,46 @@ +{ + "id": "700a0a8d-1d44-41c8-becd-4c00941cef65", + "name": "organizations_348262_team_18292_memberships_gsmet", + "request": { + "url": "/organizations/348262/team/18292/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/348262/team/18292/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:12 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"56643f06c5f464882d34a40705121d924bee70c70489002c4731882af111a331\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4937", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "63", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5EA:61AD:3CB686E:3DC475A:6221D6FC" + } + }, + "uuid": "700a0a8d-1d44-41c8-becd-4c00941cef65", + "persistent": true, + "insertionIndex": 63 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_18526_memberships_gsmet-61.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_18526_memberships_gsmet-61.json new file mode 100644 index 0000000000..1f67ae02c3 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_18526_memberships_gsmet-61.json @@ -0,0 +1,46 @@ +{ + "id": "c79281db-c4bd-4afc-abab-ef7fb83da716", + "name": "organizations_348262_team_18526_memberships_gsmet", + "request": { + "url": "/organizations/348262/team/18526/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/348262/team/18526/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:12 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"5d43243759db6d38aa77db51e3965c533c36deff216a5291223419a386e8a558\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4939", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "61", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5E6:DC15:2F64B50:305AC7D:6221D6FC" + } + }, + "uuid": "c79281db-c4bd-4afc-abab-ef7fb83da716", + "persistent": true, + "insertionIndex": 61 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_19466_memberships_gsmet-55.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_19466_memberships_gsmet-55.json new file mode 100644 index 0000000000..76c59661dd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_19466_memberships_gsmet-55.json @@ -0,0 +1,46 @@ +{ + "id": "e7643aeb-68c3-4728-92b0-91a99af9a239", + "name": "organizations_348262_team_19466_memberships_gsmet", + "request": { + "url": "/organizations/348262/team/19466/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/348262/team/19466/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:11 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"702041481fb9a9431b15cfafe6414d47f008b508ea0728c2f47235130f31bc76\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4945", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "55", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5DA:DC15:2F64952:305AA85:6221D6FB" + } + }, + "uuid": "e7643aeb-68c3-4728-92b0-91a99af9a239", + "persistent": true, + "insertionIndex": 55 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_2485689_memberships_gsmet-65.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_2485689_memberships_gsmet-65.json new file mode 100644 index 0000000000..5467091d82 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_2485689_memberships_gsmet-65.json @@ -0,0 +1,46 @@ +{ + "id": "5fc8a96f-9587-44e9-8ddd-cb21c9179f21", + "name": "organizations_348262_team_2485689_memberships_gsmet", + "request": { + "url": "/organizations/348262/team/2485689/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/348262/team/2485689/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:13 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"a9124301dcbc21a65a76db3a8f9b7a93feffb0e69a0372cb0919789721ced243\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4935", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "65", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5F0:3619:D1D25E:DD81DC:6221D6FD" + } + }, + "uuid": "5fc8a96f-9587-44e9-8ddd-cb21c9179f21", + "persistent": true, + "insertionIndex": 65 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_253214_memberships_gsmet-69.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_253214_memberships_gsmet-69.json new file mode 100644 index 0000000000..35e459f344 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_253214_memberships_gsmet-69.json @@ -0,0 +1,46 @@ +{ + "id": "48f171e2-2c88-4e63-bf69-1d8e92e73199", + "name": "organizations_348262_team_253214_memberships_gsmet", + "request": { + "url": "/organizations/348262/team/253214/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/348262/team/253214/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:14 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0477a03016a77e8ab55f1a90000dc3357a8d994f87e93fcdd264e518bfce77c5\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4931", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "69", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5F8:4A80:41BA892:42D14EC:6221D6FD" + } + }, + "uuid": "48f171e2-2c88-4e63-bf69-1d8e92e73199", + "persistent": true, + "insertionIndex": 69 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_3351730_memberships_gsmet-71.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_3351730_memberships_gsmet-71.json new file mode 100644 index 0000000000..735c139851 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_3351730_memberships_gsmet-71.json @@ -0,0 +1,46 @@ +{ + "id": "df59b618-6202-456f-8937-9ce6ea2956d6", + "name": "organizations_348262_team_3351730_memberships_gsmet", + "request": { + "url": "/organizations/348262/team/3351730/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/348262/team/3351730/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:14 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"84b08260c49bb17e5bd75211e1812d1240c9d159b06cb7f1fd93fbdf9a038e08\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4929", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "71", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5FC:DC15:2F64E76:305AFBF:6221D6FE" + } + }, + "uuid": "df59b618-6202-456f-8937-9ce6ea2956d6", + "persistent": true, + "insertionIndex": 71 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_455869_memberships_gsmet-59.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_455869_memberships_gsmet-59.json new file mode 100644 index 0000000000..d2a596d48c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_455869_memberships_gsmet-59.json @@ -0,0 +1,46 @@ +{ + "id": "7475e9fa-6db6-4157-9c64-21b36ed75f23", + "name": "organizations_348262_team_455869_memberships_gsmet", + "request": { + "url": "/organizations/348262/team/455869/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/348262/team/455869/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:12 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0730d6feee43ae9574a75fc9fcdabc52d837e2e5f2586eb527816b253e41802e\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4941", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "59", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5E2:DC16:498525D:4AA04C7:6221D6FB" + } + }, + "uuid": "7475e9fa-6db6-4157-9c64-21b36ed75f23", + "persistent": true, + "insertionIndex": 59 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_50709_memberships_gsmet-57.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_50709_memberships_gsmet-57.json new file mode 100644 index 0000000000..109c51a8ed --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_50709_memberships_gsmet-57.json @@ -0,0 +1,46 @@ +{ + "id": "0b9f63fc-9ebe-4904-9f37-dcb2979ff4c7", + "name": "organizations_348262_team_50709_memberships_gsmet", + "request": { + "url": "/organizations/348262/team/50709/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/348262/team/50709/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:11 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"c4443b65fe91396c637d924275fb2d07165b69e50c8057f6e54b007408da5686\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4943", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "57", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5DE:DC14:1B6DADE:1C3EA8C:6221D6FB" + } + }, + "uuid": "0b9f63fc-9ebe-4904-9f37-dcb2979ff4c7", + "persistent": true, + "insertionIndex": 57 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_803247_memberships_gsmet-67.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_803247_memberships_gsmet-67.json new file mode 100644 index 0000000000..1f6d5b0fc4 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_803247_memberships_gsmet-67.json @@ -0,0 +1,46 @@ +{ + "id": "45bd4b1f-87a6-4575-bd5f-3f7e9df436c9", + "name": "organizations_348262_team_803247_memberships_gsmet", + "request": { + "url": "/organizations/348262/team/803247/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/348262/team/803247/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:13 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"7c7c19d7b98c09b457bfca39f77846b6ca1957457ce679e400cf5c694c5b206a\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4933", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "67", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5F4:9B21:4321D52:4433469:6221D6FD" + } + }, + "uuid": "45bd4b1f-87a6-4575-bd5f-3f7e9df436c9", + "persistent": true, + "insertionIndex": 67 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_9226_memberships_gsmet-73.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_9226_memberships_gsmet-73.json new file mode 100644 index 0000000000..83d0d62ede --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_348262_team_9226_memberships_gsmet-73.json @@ -0,0 +1,46 @@ +{ + "id": "6534b42c-5766-49cf-b9ae-a42a1935adf1", + "name": "organizations_348262_team_9226_memberships_gsmet", + "request": { + "url": "/organizations/348262/team/9226/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/348262/team/9226/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:14 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"2de67c512bbb0c125b9937d4bb50de298b05f3f4cfcd0ebcbd489a299cd76c23\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4927", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "73", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B600:DC15:2F64F10:305B055:6221D6FE" + } + }, + "uuid": "6534b42c-5766-49cf-b9ae-a42a1935adf1", + "persistent": true, + "insertionIndex": 73 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_3957826_team_584242_memberships_gsmet-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_3957826_team_584242_memberships_gsmet-6.json new file mode 100644 index 0000000000..4f5a87019c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_3957826_team_584242_memberships_gsmet-6.json @@ -0,0 +1,46 @@ +{ + "id": "71ec08a2-b3e5-4928-8e42-6e35a66aa787", + "name": "organizations_3957826_team_584242_memberships_gsmet", + "request": { + "url": "/organizations/3957826/team/584242/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/3957826/team/584242/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"b29979ef6741867d1358e32c109cbe40a56d5b56df51e44c25b0e5affb033fd1\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4994", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "6", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B572:B361:1AE9ED7:1BBBFA3:6221D6F1" + } + }, + "uuid": "71ec08a2-b3e5-4928-8e42-6e35a66aa787", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_420577_team_102843_memberships_gsmet-76.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_420577_team_102843_memberships_gsmet-76.json new file mode 100644 index 0000000000..93da3c4ee2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_420577_team_102843_memberships_gsmet-76.json @@ -0,0 +1,46 @@ +{ + "id": "3ee84dda-99ed-416d-b101-61ee9aa4cfbe", + "name": "organizations_420577_team_102843_memberships_gsmet", + "request": { + "url": "/organizations/420577/team/102843/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/420577/team/102843/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:15 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"f8e13691381b6bfedf313c8151cf10936914c1bf50bf5f549e24be83e3627b53\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4924", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "76", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B606:89C5:F07A31:F8C333:6221D6FF" + } + }, + "uuid": "3ee84dda-99ed-416d-b101-61ee9aa4cfbe", + "persistent": true, + "insertionIndex": 76 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_420577_team_17219_memberships_gsmet-78.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_420577_team_17219_memberships_gsmet-78.json new file mode 100644 index 0000000000..931fff7d7f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_420577_team_17219_memberships_gsmet-78.json @@ -0,0 +1,46 @@ +{ + "id": "e5913d16-e213-4724-85a1-ad61fb9b5c36", + "name": "organizations_420577_team_17219_memberships_gsmet", + "request": { + "url": "/organizations/420577/team/17219/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/420577/team/17219/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:15 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"e7c3859e1712850b12a78f8298eaf27d902277712a43aad0a8bb8e3fd963d42c\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4922", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "78", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B60A:61AC:2AB4981:2BA3FF6:6221D6FF" + } + }, + "uuid": "e5913d16-e213-4724-85a1-ad61fb9b5c36", + "persistent": true, + "insertionIndex": 78 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_420577_team_1915689_memberships_gsmet-80.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_420577_team_1915689_memberships_gsmet-80.json new file mode 100644 index 0000000000..3c03ffb48b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_420577_team_1915689_memberships_gsmet-80.json @@ -0,0 +1,46 @@ +{ + "id": "4d549470-fbf9-459e-b3fe-63ad58fe389d", + "name": "organizations_420577_team_1915689_memberships_gsmet", + "request": { + "url": "/organizations/420577/team/1915689/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/420577/team/1915689/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:16 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"89d32c74958e1ee463f71817d83c9a87ae19910aae1f5a947a6575dd66539e4f\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4920", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "80", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B60E:B362:321152A:33054C2:6221D700" + } + }, + "uuid": "4d549470-fbf9-459e-b3fe-63ad58fe389d", + "persistent": true, + "insertionIndex": 80 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_2926968_memberships_gsmet-15.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_2926968_memberships_gsmet-15.json new file mode 100644 index 0000000000..9eef37f674 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_2926968_memberships_gsmet-15.json @@ -0,0 +1,46 @@ +{ + "id": "4ad8e082-5faf-4c62-b59f-c67178e507ed", + "name": "organizations_43133889_team_2926968_memberships_gsmet", + "request": { + "url": "/organizations/43133889/team/2926968/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/43133889/team/2926968/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"cb1e4f6ac95fcc15df17e9123435866329786ba52cf37c115ae1e574cc1c9e3d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4985", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "15", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B586:9B21:4320639:4431D0F:6221D6F2" + } + }, + "uuid": "4ad8e082-5faf-4c62-b59f-c67178e507ed", + "persistent": true, + "insertionIndex": 15 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3367218_memberships_gsmet-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3367218_memberships_gsmet-13.json new file mode 100644 index 0000000000..07240eac90 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3367218_memberships_gsmet-13.json @@ -0,0 +1,46 @@ +{ + "id": "59f1a356-9c2f-4483-8451-af21be92e0ec", + "name": "organizations_43133889_team_3367218_memberships_gsmet", + "request": { + "url": "/organizations/43133889/team/3367218/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/43133889/team/3367218/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"51174827a4c5b744e1981d9973225746ec73e75b7dc0c7aa133472d2d6e85751\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4987", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "13", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B582:9B1E:C96008:D4E889:6221D6F2" + } + }, + "uuid": "59f1a356-9c2f-4483-8451-af21be92e0ec", + "persistent": true, + "insertionIndex": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3522544_memberships_gsmet-11.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3522544_memberships_gsmet-11.json new file mode 100644 index 0000000000..7132bd51cd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3522544_memberships_gsmet-11.json @@ -0,0 +1,46 @@ +{ + "id": "bfaf0aa6-4891-42ae-b207-1e34ef752d67", + "name": "organizations_43133889_team_3522544_memberships_gsmet", + "request": { + "url": "/organizations/43133889/team/3522544/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/43133889/team/3522544/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"231c78b507f63d018c84c4698c8aaea333a18207adcbe58fe06467b32b1abe85\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "11", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B57C:4A7F:2C44F3C:2D37E8C:6221D6F2" + } + }, + "uuid": "bfaf0aa6-4891-42ae-b207-1e34ef752d67", + "persistent": true, + "insertionIndex": 11 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3544524_memberships_gsmet-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3544524_memberships_gsmet-9.json new file mode 100644 index 0000000000..cd1103ed99 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3544524_memberships_gsmet-9.json @@ -0,0 +1,46 @@ +{ + "id": "f3100807-5b19-4bc1-9cfd-0687eaa0db04", + "name": "organizations_43133889_team_3544524_memberships_gsmet", + "request": { + "url": "/organizations/43133889/team/3544524/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/43133889/team/3544524/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"ad4148566764477db656c51a2b1dc9b3d15aca402c3022620e41a6bd80990f08\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4991", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "9", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B578:89C7:2735065:27E58CC:6221D6F1" + } + }, + "uuid": "f3100807-5b19-4bc1-9cfd-0687eaa0db04", + "persistent": true, + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3561147_memberships_gsmet-17.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3561147_memberships_gsmet-17.json new file mode 100644 index 0000000000..c03ca00a4c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3561147_memberships_gsmet-17.json @@ -0,0 +1,46 @@ +{ + "id": "59083401-e63e-41bb-a6d8-50e8447b3db6", + "name": "organizations_43133889_team_3561147_memberships_gsmet", + "request": { + "url": "/organizations/43133889/team/3561147/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/43133889/team/3561147/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"3271305053db1dcff9ad4cbd20b48b12724e7b5cfdca23b0f79521d13157315e\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4983", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "17", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B58A:361B:1AAD850:1B80B25:6221D6F3" + } + }, + "uuid": "59083401-e63e-41bb-a6d8-50e8447b3db6", + "persistent": true, + "insertionIndex": 17 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3899872_memberships_gsmet-19.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3899872_memberships_gsmet-19.json new file mode 100644 index 0000000000..5538e0abcf --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_43133889_team_3899872_memberships_gsmet-19.json @@ -0,0 +1,46 @@ +{ + "id": "49fe58ac-1697-46f5-95d1-b1b592dd9b04", + "name": "organizations_43133889_team_3899872_memberships_gsmet", + "request": { + "url": "/organizations/43133889/team/3899872/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/43133889/team/3899872/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6aee16b6ff293c8dbd38db52ee0ca0b0caa4dcd8b996ed2c65f0ea03e3848593\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4981", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "19", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B58E:4A80:41B94C4:42D00D2:6221D6F3" + } + }, + "uuid": "49fe58ac-1697-46f5-95d1-b1b592dd9b04", + "persistent": true, + "insertionIndex": 19 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3149002_memberships_gsmet-22.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3149002_memberships_gsmet-22.json new file mode 100644 index 0000000000..53c3620371 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3149002_memberships_gsmet-22.json @@ -0,0 +1,46 @@ +{ + "id": "e2b65738-1f20-4645-9fc8-849dca6521ba", + "name": "organizations_47638783_team_3149002_memberships_gsmet", + "request": { + "url": "/organizations/47638783/team/3149002/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/47638783/team/3149002/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"3bd538a1a09c06aad2c35a8afd2c9d115264a4d02625eb677342ba669b3745e0\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4978", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "22", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B594:4A7F:2C45362:2D382BE:6221D6F4" + } + }, + "uuid": "e2b65738-1f20-4645-9fc8-849dca6521ba", + "persistent": true, + "insertionIndex": 22 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3160672_memberships_gsmet-34.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3160672_memberships_gsmet-34.json new file mode 100644 index 0000000000..515408c904 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3160672_memberships_gsmet-34.json @@ -0,0 +1,46 @@ +{ + "id": "00079d96-259e-41b6-bb82-85b80404d9f4", + "name": "organizations_47638783_team_3160672_memberships_gsmet", + "request": { + "url": "/organizations/47638783/team/3160672/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/47638783/team/3160672/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"f6f21667444ccd1592d4b9c3abb8091b0a5726a159ed9bcc74cda353c4bca5cd\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4966", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "34", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5AE:BF15:41569A2:426570A:6221D6F6" + } + }, + "uuid": "00079d96-259e-41b6-bb82-85b80404d9f4", + "persistent": true, + "insertionIndex": 34 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3232385_memberships_gsmet-26.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3232385_memberships_gsmet-26.json new file mode 100644 index 0000000000..f662b4a2ad --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3232385_memberships_gsmet-26.json @@ -0,0 +1,46 @@ +{ + "id": "41c7abc5-6229-4749-aa1f-ac69dd66cb1f", + "name": "organizations_47638783_team_3232385_memberships_gsmet", + "request": { + "url": "/organizations/47638783/team/3232385/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/47638783/team/3232385/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"61d484743f1a0255dab9febb8c52ab8a6977993b906127ca7dfd3902f6c7619b\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4974", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "26", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B59C:2657:1ADA09:1F5D25:6221D6F5" + } + }, + "uuid": "41c7abc5-6229-4749-aa1f-ac69dd66cb1f", + "persistent": true, + "insertionIndex": 26 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3283934_memberships_gsmet-36.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3283934_memberships_gsmet-36.json new file mode 100644 index 0000000000..a126970485 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3283934_memberships_gsmet-36.json @@ -0,0 +1,46 @@ +{ + "id": "11acfb4c-ce6b-43ab-a78b-340437eba239", + "name": "organizations_47638783_team_3283934_memberships_gsmet", + "request": { + "url": "/organizations/47638783/team/3283934/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/47638783/team/3283934/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:07 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6f17fdfe58d56c1d65683ce660a4b5f0aa4153ea30322794f69b9bc8ddb5c798\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4964", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "36", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5B2:03D5:41C0A94:42D1073:6221D6F7" + } + }, + "uuid": "11acfb4c-ce6b-43ab-a78b-340437eba239", + "persistent": true, + "insertionIndex": 36 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3471846_memberships_gsmet-28.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3471846_memberships_gsmet-28.json new file mode 100644 index 0000000000..89efbc94c5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3471846_memberships_gsmet-28.json @@ -0,0 +1,46 @@ +{ + "id": "9684af6f-6a0c-4933-8bff-e81f9d9a89ff", + "name": "organizations_47638783_team_3471846_memberships_gsmet", + "request": { + "url": "/organizations/47638783/team/3471846/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/47638783/team/3471846/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"f15c3a1205a6910158ce215bbb1998e33e36bdbf0ad2c655e7f204b8b11fa284\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4972", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "28", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5A0:B361:1AEA37B:1BBC44E:6221D6F5" + } + }, + "uuid": "9684af6f-6a0c-4933-8bff-e81f9d9a89ff", + "persistent": true, + "insertionIndex": 28 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3962365_memberships_gsmet-24.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3962365_memberships_gsmet-24.json new file mode 100644 index 0000000000..f7f9cd7d25 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_3962365_memberships_gsmet-24.json @@ -0,0 +1,46 @@ +{ + "id": "4572c38a-c9dc-4c52-94cf-f94b4447bdf7", + "name": "organizations_47638783_team_3962365_memberships_gsmet", + "request": { + "url": "/organizations/47638783/team/3962365/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/47638783/team/3962365/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6d601fea7c28e2a983634f880c5fa44acd09110aeaf185669e43f60ee10707f2\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4976", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "24", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B598:4A7F:2C4542E:2D38393:6221D6F4" + } + }, + "uuid": "4572c38a-c9dc-4c52-94cf-f94b4447bdf7", + "persistent": true, + "insertionIndex": 24 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_4027433_memberships_gsmet-32.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_4027433_memberships_gsmet-32.json new file mode 100644 index 0000000000..f8cd97774f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_4027433_memberships_gsmet-32.json @@ -0,0 +1,46 @@ +{ + "id": "0d673517-2a50-49de-8831-62333e59c37f", + "name": "organizations_47638783_team_4027433_memberships_gsmet", + "request": { + "url": "/organizations/47638783/team/4027433/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/47638783/team/4027433/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8cc68a85cbe92ca0490d2bb34a5a2304c0ae95a41b5e4fa1a467d8b411f0bd61\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4968", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "32", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5A8:B360:B74ADA:C2AEA1:6221D6F6" + } + }, + "uuid": "0d673517-2a50-49de-8831-62333e59c37f", + "persistent": true, + "insertionIndex": 32 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_5580963_memberships_gsmet-30.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_5580963_memberships_gsmet-30.json new file mode 100644 index 0000000000..3b6d2b009a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_47638783_team_5580963_memberships_gsmet-30.json @@ -0,0 +1,46 @@ +{ + "id": "d3f39c70-ce6f-4f77-9fb8-b67f4209c93a", + "name": "organizations_47638783_team_5580963_memberships_gsmet", + "request": { + "url": "/organizations/47638783/team/5580963/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/47638783/team/5580963/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1daa4f6e78bed5a903181bb3194d6b7e7ea9dbe0ec37c217d667993a8b76142a\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4970", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "30", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5A4:B363:45250A3:4640761:6221D6F6" + } + }, + "uuid": "d3f39c70-ce6f-4f77-9fb8-b67f4209c93a", + "persistent": true, + "insertionIndex": 30 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_6114742_team_594895_memberships_gsmet-42.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_6114742_team_594895_memberships_gsmet-42.json new file mode 100644 index 0000000000..352454e616 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_6114742_team_594895_memberships_gsmet-42.json @@ -0,0 +1,46 @@ +{ + "id": "2f235556-7abe-4682-bab8-ed49b4244bd3", + "name": "organizations_6114742_team_594895_memberships_gsmet", + "request": { + "url": "/organizations/6114742/team/594895/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/6114742/team/594895/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:08 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1e7e52aaa37f12a27d836100d713ffb54041eb76e6995c8030d5c8ff1b11b583\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4958", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "42", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5BE:5E65:17C9D45:18334A0:6221D6F8" + } + }, + "uuid": "2f235556-7abe-4682-bab8-ed49b4244bd3", + "persistent": true, + "insertionIndex": 42 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_4142453_memberships_gsmet-91.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_4142453_memberships_gsmet-91.json new file mode 100644 index 0000000000..86a7d75954 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_4142453_memberships_gsmet-91.json @@ -0,0 +1,46 @@ +{ + "id": "2e073eb9-35dd-48d5-b3dc-af90c5a4f690", + "name": "organizations_69191779_team_4142453_memberships_gsmet", + "request": { + "url": "/organizations/69191779/team/4142453/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/69191779/team/4142453/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:18 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"61e3ed59196148bb26be60efb9e041378ab9482cd4d52f2165aa2cecfde0f7f3\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4909", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "91", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B624:4A7F:2C46A3B:2D399D1:6221D702" + } + }, + "uuid": "2e073eb9-35dd-48d5-b3dc-af90c5a4f690", + "persistent": true, + "insertionIndex": 91 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_4698127_memberships_gsmet-96.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_4698127_memberships_gsmet-96.json new file mode 100644 index 0000000000..30b42ce8d8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_4698127_memberships_gsmet-96.json @@ -0,0 +1,46 @@ +{ + "id": "18b520ec-46bc-46d5-bdb3-5b3d12babaf5", + "name": "organizations_69191779_team_4698127_memberships_gsmet", + "request": { + "url": "/organizations/69191779/team/4698127/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/69191779/team/4698127/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:19 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"5f2a667beb3b8c6980142700cb443b92ec50b824959635a4a878ab6ae076eaa0\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4904", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "96", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B62E:050B:2C9B2EA:2D8F140:6221D703" + } + }, + "uuid": "18b520ec-46bc-46d5-bdb3-5b3d12babaf5", + "persistent": true, + "insertionIndex": 96 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5300000_memberships_gsmet-94.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5300000_memberships_gsmet-94.json new file mode 100644 index 0000000000..4205c02139 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5300000_memberships_gsmet-94.json @@ -0,0 +1,46 @@ +{ + "id": "4c339a3d-8c74-4585-a619-d74a140ab1e5", + "name": "organizations_69191779_team_5300000_memberships_gsmet", + "request": { + "url": "/organizations/69191779/team/5300000/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/69191779/team/5300000/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:19 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"ae84e35568f288320d1a27bdae6a9542e96b9bf827ff1bf35321b8597e021e86\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4906", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "94", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B62A:89C5:F07CE8:F8C5FC:6221D703" + } + }, + "uuid": "4c339a3d-8c74-4585-a619-d74a140ab1e5", + "persistent": true, + "insertionIndex": 94 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5327479_memberships_gsmet-88.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5327479_memberships_gsmet-88.json new file mode 100644 index 0000000000..88860e6942 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5327479_memberships_gsmet-88.json @@ -0,0 +1,46 @@ +{ + "id": "cb6c9405-d701-434c-8d5b-487054351a4f", + "name": "organizations_69191779_team_5327479_memberships_gsmet", + "request": { + "url": "/organizations/69191779/team/5327479/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/69191779/team/5327479/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:18 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"a9327ffd9185c5cf99054a806ea47e1bf815c08012454c75b5bf82d7ca5a505c\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4912", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "88", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B61E:03D1:5CBD3D:67799E:6221D701" + } + }, + "uuid": "cb6c9405-d701-434c-8d5b-487054351a4f", + "persistent": true, + "insertionIndex": 88 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5327486_memberships_gsmet-86.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5327486_memberships_gsmet-86.json new file mode 100644 index 0000000000..dc87ed1690 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5327486_memberships_gsmet-86.json @@ -0,0 +1,46 @@ +{ + "id": "f878ccd7-3e24-4286-8293-a5d562c14826", + "name": "organizations_69191779_team_5327486_memberships_gsmet", + "request": { + "url": "/organizations/69191779/team/5327486/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/69191779/team/5327486/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:17 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1e58d30df267fbf383e08b39f628c6f75397a7519600d90e8ca684df75618573\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4914", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "86", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B61A:89C5:F07B9D:F8C4AC:6221D701" + } + }, + "uuid": "f878ccd7-3e24-4286-8293-a5d562c14826", + "persistent": true, + "insertionIndex": 86 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5330519_memberships_gsmet-84.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5330519_memberships_gsmet-84.json new file mode 100644 index 0000000000..a0b46d6f18 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_team_5330519_memberships_gsmet-84.json @@ -0,0 +1,46 @@ +{ + "id": "e69d4ec0-9d5a-4884-9298-5d84563d772a", + "name": "organizations_69191779_team_5330519_memberships_gsmet", + "request": { + "url": "/organizations/69191779/team/5330519/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/69191779/team/5330519/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:17 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"3d98b84082c8e799b4a0dfef86b0e4542422bfa13f9428defd6f94f01bd3e7a3\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4916", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "84", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B616:DC15:2F652C7:305B42D:6221D701" + } + }, + "uuid": "e69d4ec0-9d5a-4884-9298-5d84563d772a", + "persistent": true, + "insertionIndex": 84 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_teams-83.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_teams-83.json new file mode 100644 index 0000000000..24e2e5e51b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_teams-83.json @@ -0,0 +1,50 @@ +{ + "id": "4d49e241-f0ca-492a-a405-7948d85e73ce", + "name": "organizations_69191779_teams", + "request": { + "url": "/organizations/69191779/teams?page=2", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_69191779_teams-83.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:17 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6b8b0ac1c481e161f57f871a63589c5c364281749991856ddf576f0fad785e34\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4917", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "83", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B614:DC16:4985C5B:4AA0EF1:6221D700", + "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" + } + }, + "uuid": "4d49e241-f0ca-492a-a405-7948d85e73ce", + "persistent": true, + "scenarioName": "scenario-6-organizations-69191779-teams", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-6-organizations-69191779-teams-2", + "insertionIndex": 83 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_teams-90.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_teams-90.json new file mode 100644 index 0000000000..6d721b5583 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_teams-90.json @@ -0,0 +1,50 @@ +{ + "id": "ee04c7e1-f54e-480f-9a02-3784d51fea66", + "name": "organizations_69191779_teams", + "request": { + "url": "/organizations/69191779/teams?page=2", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_69191779_teams-90.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:18 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6b8b0ac1c481e161f57f871a63589c5c364281749991856ddf576f0fad785e34\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4910", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "90", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B622:DC13:ABBA49:B71696:6221D702", + "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" + } + }, + "uuid": "ee04c7e1-f54e-480f-9a02-3784d51fea66", + "persistent": true, + "scenarioName": "scenario-6-organizations-69191779-teams", + "requiredScenarioState": "scenario-6-organizations-69191779-teams-2", + "newScenarioState": "scenario-6-organizations-69191779-teams-3", + "insertionIndex": 90 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_teams-93.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_teams-93.json new file mode 100644 index 0000000000..4044bc84a9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_69191779_teams-93.json @@ -0,0 +1,49 @@ +{ + "id": "8e27ccb1-5f9e-45dc-bcd8-860e358452a1", + "name": "organizations_69191779_teams", + "request": { + "url": "/organizations/69191779/teams?page=2", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_69191779_teams-93.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:19 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6b8b0ac1c481e161f57f871a63589c5c364281749991856ddf576f0fad785e34\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4907", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "93", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B628:9B20:2DD7119:2EC32A6:6221D703", + "Link": "; rel=\"prev\", ; rel=\"next\", ; rel=\"last\", ; rel=\"first\"" + } + }, + "uuid": "8e27ccb1-5f9e-45dc-bcd8-860e358452a1", + "persistent": true, + "scenarioName": "scenario-6-organizations-69191779-teams", + "requiredScenarioState": "scenario-6-organizations-69191779-teams-3", + "insertionIndex": 93 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_951365_team_106459_memberships_gsmet-39.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_951365_team_106459_memberships_gsmet-39.json new file mode 100644 index 0000000000..68e1ca4f10 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/organizations_951365_team_106459_memberships_gsmet-39.json @@ -0,0 +1,46 @@ +{ + "id": "b719a13b-6ff5-4b1d-861c-42a9a681c507", + "name": "organizations_951365_team_106459_memberships_gsmet", + "request": { + "url": "/organizations/951365/team/106459/memberships/gsmet", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"member\",\"url\":\"https://api.github.com/organizations/951365/team/106459/memberships/gsmet\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:07 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0607ee780cfd1f3f5cb377ad9e2b4fe10d5f487a3667a274f4b918707afce765\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4961", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "39", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5B8:265F:1A50104:1AC54D4:6221D6F7" + } + }, + "uuid": "b719a13b-6ff5-4b1d-861c-42a9a681c507", + "persistent": true, + "insertionIndex": 39 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_apidae-tourisme-40.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_apidae-tourisme-40.json new file mode 100644 index 0000000000..8d0274a88d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_apidae-tourisme-40.json @@ -0,0 +1,47 @@ +{ + "id": "8aeef1ac-7703-41c3-b04e-143d454f575a", + "name": "orgs_apidae-tourisme", + "request": { + "url": "/orgs/apidae-tourisme", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_apidae-tourisme-40.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:08 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"6252a293a50081c29ac221b83bf991fc8a189f82919051ee4b3e55ba8899d520\"", + "Last-Modified": "Tue, 04 Jan 2022 11:03:59 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4960", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "40", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5BA:89C7:2735CF4:27E6588:6221D6F8" + } + }, + "uuid": "8aeef1ac-7703-41c3-b04e-143d454f575a", + "persistent": true, + "insertionIndex": 40 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_apidae-tourisme_teams-41.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_apidae-tourisme_teams-41.json new file mode 100644 index 0000000000..45223cb82a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_apidae-tourisme_teams-41.json @@ -0,0 +1,46 @@ +{ + "id": "24d2e785-e77d-497a-8c43-e0d6a60a4398", + "name": "orgs_apidae-tourisme_teams", + "request": { + "url": "/orgs/apidae-tourisme/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_apidae-tourisme_teams-41.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:08 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"c8ffecf83f82dd1a280740593af6be7b5daaa99acd47013b62d8932441151f8f\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4959", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "41", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5BC:89C6:18C6AB2:195DCC8:6221D6F8" + } + }, + "uuid": "24d2e785-e77d-497a-8c43-e0d6a60a4398", + "persistent": true, + "insertionIndex": 41 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre-7.json new file mode 100644 index 0000000000..f473c5de6a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre-7.json @@ -0,0 +1,47 @@ +{ + "id": "513ff368-06c9-4e7f-9e1e-0f952864f4ee", + "name": "orgs_app-sre", + "request": { + "url": "/orgs/app-sre", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_app-sre-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"ee509be5754661f696aad7c6fa3706bf90dc7756cec4b548873d54ebeb31f2c5\"", + "Last-Modified": "Fri, 25 Feb 2022 15:38:15 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4993", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "7", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B574:5E65:17C8DB5:18324F1:6221D6F1" + } + }, + "uuid": "513ff368-06c9-4e7f-9e1e-0f952864f4ee", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-10.json new file mode 100644 index 0000000000..b02c8d5b0a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-10.json @@ -0,0 +1,49 @@ +{ + "id": "8137b995-6fff-4604-9c91-3273949e454f", + "name": "orgs_app-sre_teams", + "request": { + "url": "/orgs/app-sre/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_app-sre_teams-10.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d4fa9217dcc9487b9826434b4be74ed18540075d306960d2335344385b5da413\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4990", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "10", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B57A:9B21:43203C0:4431AA0:6221D6F1" + } + }, + "uuid": "8137b995-6fff-4604-9c91-3273949e454f", + "persistent": true, + "scenarioName": "scenario-1-orgs-app-sre-teams", + "requiredScenarioState": "scenario-1-orgs-app-sre-teams-2", + "newScenarioState": "scenario-1-orgs-app-sre-teams-3", + "insertionIndex": 10 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-12.json new file mode 100644 index 0000000000..744ab53b5b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-12.json @@ -0,0 +1,49 @@ +{ + "id": "7a5919d5-c641-481f-8749-ec3ca32e462f", + "name": "orgs_app-sre_teams", + "request": { + "url": "/orgs/app-sre/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_app-sre_teams-12.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d4fa9217dcc9487b9826434b4be74ed18540075d306960d2335344385b5da413\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "12", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B580:361D:2AA6328:2B9822B:6221D6F2" + } + }, + "uuid": "7a5919d5-c641-481f-8749-ec3ca32e462f", + "persistent": true, + "scenarioName": "scenario-1-orgs-app-sre-teams", + "requiredScenarioState": "scenario-1-orgs-app-sre-teams-3", + "newScenarioState": "scenario-1-orgs-app-sre-teams-4", + "insertionIndex": 12 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-14.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-14.json new file mode 100644 index 0000000000..e3b2d24301 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-14.json @@ -0,0 +1,49 @@ +{ + "id": "7a76ded4-a66e-44d1-a042-b2da62c2396a", + "name": "orgs_app-sre_teams", + "request": { + "url": "/orgs/app-sre/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_app-sre_teams-14.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d4fa9217dcc9487b9826434b4be74ed18540075d306960d2335344385b5da413\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4986", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "14", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B584:BF15:4155FAA:4264D0F:6221D6F2" + } + }, + "uuid": "7a76ded4-a66e-44d1-a042-b2da62c2396a", + "persistent": true, + "scenarioName": "scenario-1-orgs-app-sre-teams", + "requiredScenarioState": "scenario-1-orgs-app-sre-teams-4", + "newScenarioState": "scenario-1-orgs-app-sre-teams-5", + "insertionIndex": 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-16.json new file mode 100644 index 0000000000..7fdeb5feaa --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-16.json @@ -0,0 +1,49 @@ +{ + "id": "2bf062b2-b9db-4a8b-9039-c6d238888305", + "name": "orgs_app-sre_teams", + "request": { + "url": "/orgs/app-sre/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_app-sre_teams-16.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d4fa9217dcc9487b9826434b4be74ed18540075d306960d2335344385b5da413\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4984", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "16", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B588:B362:320FD76:3303CD7:6221D6F3" + } + }, + "uuid": "2bf062b2-b9db-4a8b-9039-c6d238888305", + "persistent": true, + "scenarioName": "scenario-1-orgs-app-sre-teams", + "requiredScenarioState": "scenario-1-orgs-app-sre-teams-5", + "newScenarioState": "scenario-1-orgs-app-sre-teams-6", + "insertionIndex": 16 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-18.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-18.json new file mode 100644 index 0000000000..6f5eca672d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-18.json @@ -0,0 +1,48 @@ +{ + "id": "0f1142df-fdad-4509-9365-4215a3c30048", + "name": "orgs_app-sre_teams", + "request": { + "url": "/orgs/app-sre/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_app-sre_teams-18.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:03 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d4fa9217dcc9487b9826434b4be74ed18540075d306960d2335344385b5da413\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4982", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "18", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B58C:61AD:3CB5615:3DC34DC:6221D6F3" + } + }, + "uuid": "0f1142df-fdad-4509-9365-4215a3c30048", + "persistent": true, + "scenarioName": "scenario-1-orgs-app-sre-teams", + "requiredScenarioState": "scenario-1-orgs-app-sre-teams-6", + "insertionIndex": 18 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-8.json new file mode 100644 index 0000000000..5a8281bf1b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_app-sre_teams-8.json @@ -0,0 +1,49 @@ +{ + "id": "b6ac2b70-ff42-412a-95aa-2ae0d0209b43", + "name": "orgs_app-sre_teams", + "request": { + "url": "/orgs/app-sre/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_app-sre_teams-8.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d4fa9217dcc9487b9826434b4be74ed18540075d306960d2335344385b5da413\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4992", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "8", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B576:4A7E:1B43850:1C15DF4:6221D6F1" + } + }, + "uuid": "b6ac2b70-ff42-412a-95aa-2ae0d0209b43", + "persistent": true, + "scenarioName": "scenario-1-orgs-app-sre-teams", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-orgs-app-sre-teams-2", + "insertionIndex": 8 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation-74.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation-74.json new file mode 100644 index 0000000000..ac2eb26031 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation-74.json @@ -0,0 +1,47 @@ +{ + "id": "68396a88-77bd-4151-bc5d-ec36f10b4082", + "name": "orgs_beanvalidation", + "request": { + "url": "/orgs/beanvalidation", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_beanvalidation-74.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:15 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"b8d99eb4523f15707458474366f3028dd56244aeaac531798732f25fa79fe165\"", + "Last-Modified": "Wed, 01 Dec 2021 20:18:49 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4926", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "74", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B602:4A7F:2C464E8:2D39470:6221D6FE" + } + }, + "uuid": "68396a88-77bd-4151-bc5d-ec36f10b4082", + "persistent": true, + "insertionIndex": 74 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation_teams-75.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation_teams-75.json new file mode 100644 index 0000000000..a9d8f8dde1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation_teams-75.json @@ -0,0 +1,49 @@ +{ + "id": "91d558ea-1cd0-4e13-bcc0-994ca89b99b5", + "name": "orgs_beanvalidation_teams", + "request": { + "url": "/orgs/beanvalidation/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_beanvalidation_teams-75.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:15 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"a5817507341bc53bd8434d950ecd0f68027de2c5f92d0b963f5dac72e634d38d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4925", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "75", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B604:61AB:19F3BB4:1AC4767:6221D6FF" + } + }, + "uuid": "91d558ea-1cd0-4e13-bcc0-994ca89b99b5", + "persistent": true, + "scenarioName": "scenario-4-orgs-beanvalidation-teams", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-4-orgs-beanvalidation-teams-2", + "insertionIndex": 75 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation_teams-77.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation_teams-77.json new file mode 100644 index 0000000000..3f4800a33b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation_teams-77.json @@ -0,0 +1,49 @@ +{ + "id": "9faaf329-c5d6-47a9-a39d-79083cd393ee", + "name": "orgs_beanvalidation_teams", + "request": { + "url": "/orgs/beanvalidation/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_beanvalidation_teams-77.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:15 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"a5817507341bc53bd8434d950ecd0f68027de2c5f92d0b963f5dac72e634d38d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4923", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "77", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B608:89C7:27369FA:27E72A9:6221D6FF" + } + }, + "uuid": "9faaf329-c5d6-47a9-a39d-79083cd393ee", + "persistent": true, + "scenarioName": "scenario-4-orgs-beanvalidation-teams", + "requiredScenarioState": "scenario-4-orgs-beanvalidation-teams-2", + "newScenarioState": "scenario-4-orgs-beanvalidation-teams-3", + "insertionIndex": 77 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation_teams-79.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation_teams-79.json new file mode 100644 index 0000000000..1bef6a4c90 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beanvalidation_teams-79.json @@ -0,0 +1,48 @@ +{ + "id": "2abce74e-8835-48cd-981a-dba6b8aea84a", + "name": "orgs_beanvalidation_teams", + "request": { + "url": "/orgs/beanvalidation/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_beanvalidation_teams-79.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:16 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"a5817507341bc53bd8434d950ecd0f68027de2c5f92d0b963f5dac72e634d38d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4921", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "79", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B60C:4928:676E94:6B6548:6221D700" + } + }, + "uuid": "2abce74e-8835-48cd-981a-dba6b8aea84a", + "persistent": true, + "scenarioName": "scenario-4-orgs-beanvalidation-teams", + "requiredScenarioState": "scenario-4-orgs-beanvalidation-teams-3", + "insertionIndex": 79 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beautify-web-67.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beautify-web-67.json deleted file mode 100644 index 3817071753..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beautify-web-67.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "62298d74-fe3c-459d-9f70-450e80247969", - "name": "orgs_beautify-web", - "request": { - "url": "/orgs/beautify-web", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_beautify-web-67.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:39 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4851", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"dd4a06709596dc92c3149f801079e32f\"", - "Last-Modified": "Fri, 20 Sep 2019 14:31:51 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:111388D:145C2C6:5D969093" - } - }, - "uuid": "62298d74-fe3c-459d-9f70-450e80247969", - "persistent": true, - "insertionIndex": 67 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beautify-web_teams-68.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beautify-web_teams-68.json deleted file mode 100644 index 45e22aa56b..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_beautify-web_teams-68.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "58684478-ae6b-43c2-b30c-af37aeb81621", - "name": "orgs_beautify-web_teams", - "request": { - "url": "/orgs/beautify-web/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_beautify-web_teams-68.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:39 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4850", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"cae953250c5fce5fb3d69d903faf89ce\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113899:145C2D6:5D969093" - } - }, - "uuid": "58684478-ae6b-43c2-b30c-af37aeb81621", - "persistent": true, - "insertionIndex": 68 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees-33.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees-33.json deleted file mode 100644 index 24f26d73ce..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees-33.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "ce8716a4-ec25-4626-9a3a-205e5558bd39", - "name": "orgs_cloudbees", - "request": { - "url": "/orgs/cloudbees", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_cloudbees-33.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:34 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4885", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"87dc367baf67ce7b49c7e6bf733e9e47\"", - "Last-Modified": "Thu, 26 Jul 2018 22:36:42 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113690:145C054:5D96908E" - } - }, - "uuid": "ce8716a4-ec25-4626-9a3a-205e5558bd39", - "persistent": true, - "insertionIndex": 33 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-34.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-34.json deleted file mode 100644 index 04708f16d2..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-34.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "57f5eb24-dd30-4d2c-9e6a-90dcd973e21f", - "name": "orgs_cloudbees_teams", - "request": { - "url": "/orgs/cloudbees/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_cloudbees_teams-34.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:34 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4884", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"f1a9b7148b69e264c0591450e5f2a207\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11136A4:145C06D:5D96908E", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "57f5eb24-dd30-4d2c-9e6a-90dcd973e21f", - "persistent": true, - "scenarioName": "scenario-3-orgs-cloudbees-teams", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-3-orgs-cloudbees-teams-2", - "insertionIndex": 34 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-37.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-37.json deleted file mode 100644 index de7e9ce10f..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-37.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "632605dd-2411-4c5d-8fd0-7d57f23cb0a5", - "name": "orgs_cloudbees_teams", - "request": { - "url": "/orgs/cloudbees/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_cloudbees_teams-37.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:35 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4881", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"f1a9b7148b69e264c0591450e5f2a207\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11136D0:145C09C:5D96908F", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "632605dd-2411-4c5d-8fd0-7d57f23cb0a5", - "persistent": true, - "scenarioName": "scenario-3-orgs-cloudbees-teams", - "requiredScenarioState": "scenario-3-orgs-cloudbees-teams-2", - "newScenarioState": "scenario-3-orgs-cloudbees-teams-3", - "insertionIndex": 37 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-39.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-39.json deleted file mode 100644 index 23f7986a41..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-39.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "fbf640ca-c41a-4e82-9c5a-75ba2175bc0c", - "name": "orgs_cloudbees_teams", - "request": { - "url": "/orgs/cloudbees/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_cloudbees_teams-39.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:35 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4879", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"f1a9b7148b69e264c0591450e5f2a207\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11136F4:145C0CB:5D96908F", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "fbf640ca-c41a-4e82-9c5a-75ba2175bc0c", - "persistent": true, - "scenarioName": "scenario-3-orgs-cloudbees-teams", - "requiredScenarioState": "scenario-3-orgs-cloudbees-teams-3", - "newScenarioState": "scenario-3-orgs-cloudbees-teams-4", - "insertionIndex": 39 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-41.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-41.json deleted file mode 100644 index 26b341f0ad..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-41.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "c3bba3a6-1c09-4663-bbd5-61f4184faffa", - "name": "orgs_cloudbees_teams", - "request": { - "url": "/orgs/cloudbees/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_cloudbees_teams-41.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:35 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4877", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"f1a9b7148b69e264c0591450e5f2a207\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:111370E:145C0ED:5D96908F", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "c3bba3a6-1c09-4663-bbd5-61f4184faffa", - "persistent": true, - "scenarioName": "scenario-3-orgs-cloudbees-teams", - "requiredScenarioState": "scenario-3-orgs-cloudbees-teams-4", - "newScenarioState": "scenario-3-orgs-cloudbees-teams-5", - "insertionIndex": 41 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-43.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-43.json deleted file mode 100644 index c9589ab2f0..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-43.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "1d3fc4da-c320-4621-bf6c-4fa95aeb487e", - "name": "orgs_cloudbees_teams", - "request": { - "url": "/orgs/cloudbees/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_cloudbees_teams-43.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:36 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4875", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"f1a9b7148b69e264c0591450e5f2a207\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113722:145C107:5D96908F", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "1d3fc4da-c320-4621-bf6c-4fa95aeb487e", - "persistent": true, - "scenarioName": "scenario-3-orgs-cloudbees-teams", - "requiredScenarioState": "scenario-3-orgs-cloudbees-teams-5", - "newScenarioState": "scenario-3-orgs-cloudbees-teams-6", - "insertionIndex": 43 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-46.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-46.json deleted file mode 100644 index 78906fcd80..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-46.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "4d6d15f8-8345-4ce7-af12-dcd50335d2c0", - "name": "orgs_cloudbees_teams", - "request": { - "url": "/orgs/cloudbees/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_cloudbees_teams-46.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:36 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4872", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"f1a9b7148b69e264c0591450e5f2a207\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113752:145C13F:5D969090", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "4d6d15f8-8345-4ce7-af12-dcd50335d2c0", - "persistent": true, - "scenarioName": "scenario-3-orgs-cloudbees-teams", - "requiredScenarioState": "scenario-3-orgs-cloudbees-teams-6", - "newScenarioState": "scenario-3-orgs-cloudbees-teams-7", - "insertionIndex": 46 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-49.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-49.json deleted file mode 100644 index a80f060853..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_cloudbees_teams-49.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "35c47636-9b2c-4e43-866a-62d34ddf04fb", - "name": "orgs_cloudbees_teams", - "request": { - "url": "/orgs/cloudbees/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_cloudbees_teams-49.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:36 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4869", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"f1a9b7148b69e264c0591450e5f2a207\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113780:145C17A:5D969090", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "35c47636-9b2c-4e43-866a-62d34ddf04fb", - "persistent": true, - "scenarioName": "scenario-3-orgs-cloudbees-teams", - "requiredScenarioState": "scenario-3-orgs-cloudbees-teams-7", - "insertionIndex": 49 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_eclipse-ee4j-50.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_eclipse-ee4j-50.json new file mode 100644 index 0000000000..076b44d791 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_eclipse-ee4j-50.json @@ -0,0 +1,47 @@ +{ + "id": "016089dd-969c-436e-a2b7-f72b2349e389", + "name": "orgs_eclipse-ee4j", + "request": { + "url": "/orgs/eclipse-ee4j", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_eclipse-ee4j-50.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:10 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"977fac13d0cbb869955d86f2b41314ac63a08b9df1a1ab1396dffe5c37387362\"", + "Last-Modified": "Mon, 28 Feb 2022 16:59:46 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4950", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "50", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5D0:050C:3E06015:3F1E859:6221D6FA" + } + }, + "uuid": "016089dd-969c-436e-a2b7-f72b2349e389", + "persistent": true, + "insertionIndex": 50 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_eclipse-ee4j_teams-51.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_eclipse-ee4j_teams-51.json new file mode 100644 index 0000000000..340ce30e1f --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_eclipse-ee4j_teams-51.json @@ -0,0 +1,46 @@ +{ + "id": "893eecac-ec20-4b98-80e9-5460696ba5a1", + "name": "orgs_eclipse-ee4j_teams", + "request": { + "url": "/orgs/eclipse-ee4j/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_eclipse-ee4j_teams-51.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:10 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"4eb11d60cfa3622cab353043312572a7fd6d758169cd3ff56d2457872b001f5e\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4949", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "51", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5D2:61AD:3CB63FC:3DC42DD:6221D6FA" + } + }, + "uuid": "893eecac-ec20-4b98-80e9-5460696ba5a1", + "persistent": true, + "insertionIndex": 51 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate-53.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate-53.json new file mode 100644 index 0000000000..3fcbe680bd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate-53.json @@ -0,0 +1,47 @@ +{ + "id": "b9490ad8-e35b-491d-884f-e3365bbb27e3", + "name": "orgs_hibernate", + "request": { + "url": "/orgs/hibernate", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate-53.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:10 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"673c61666c37ff6bae20c0c4a61a63e99b29fc0b54a4644c7dc2c8cd44f6d068\"", + "Last-Modified": "Wed, 23 Feb 2022 15:06:08 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4947", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "53", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5D6:0503:232B0:C5007:6221D6FA" + } + }, + "uuid": "b9490ad8-e35b-491d-884f-e3365bbb27e3", + "persistent": true, + "insertionIndex": 53 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-54.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-54.json new file mode 100644 index 0000000000..289a3e3e96 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-54.json @@ -0,0 +1,49 @@ +{ + "id": "a28e6ee5-0d2d-4bcf-bd51-82de1ae02d33", + "name": "orgs_hibernate_teams", + "request": { + "url": "/orgs/hibernate/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate_teams-54.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:11 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8b7f68633b539d819d3d1d67b8e5fe5ed3c7bd1886358ec13739b692f2756dba\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4946", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "54", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5D8:03D3:195B421:1A2B87C:6221D6FA" + } + }, + "uuid": "a28e6ee5-0d2d-4bcf-bd51-82de1ae02d33", + "persistent": true, + "scenarioName": "scenario-3-orgs-hibernate-teams", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-3-orgs-hibernate-teams-2", + "insertionIndex": 54 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-56.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-56.json new file mode 100644 index 0000000000..852193f40c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-56.json @@ -0,0 +1,49 @@ +{ + "id": "0cf94a03-3383-4bd6-9a97-18e351ce9c58", + "name": "orgs_hibernate_teams", + "request": { + "url": "/orgs/hibernate/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate_teams-56.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:11 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8b7f68633b539d819d3d1d67b8e5fe5ed3c7bd1886358ec13739b692f2756dba\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4944", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "56", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5DC:9B21:43218CD:4432FD9:6221D6FB" + } + }, + "uuid": "0cf94a03-3383-4bd6-9a97-18e351ce9c58", + "persistent": true, + "scenarioName": "scenario-3-orgs-hibernate-teams", + "requiredScenarioState": "scenario-3-orgs-hibernate-teams-2", + "newScenarioState": "scenario-3-orgs-hibernate-teams-3", + "insertionIndex": 56 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-58.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-58.json new file mode 100644 index 0000000000..b1531bfaa6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-58.json @@ -0,0 +1,49 @@ +{ + "id": "46a8a7dd-f3ec-41dc-a3ab-2934ca9461a9", + "name": "orgs_hibernate_teams", + "request": { + "url": "/orgs/hibernate/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate_teams-58.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:11 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8b7f68633b539d819d3d1d67b8e5fe5ed3c7bd1886358ec13739b692f2756dba\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4942", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "58", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5E0:61A7:21EE6C:2C4A09:6221D6FB" + } + }, + "uuid": "46a8a7dd-f3ec-41dc-a3ab-2934ca9461a9", + "persistent": true, + "scenarioName": "scenario-3-orgs-hibernate-teams", + "requiredScenarioState": "scenario-3-orgs-hibernate-teams-3", + "newScenarioState": "scenario-3-orgs-hibernate-teams-4", + "insertionIndex": 58 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-60.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-60.json new file mode 100644 index 0000000000..539ae89444 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-60.json @@ -0,0 +1,49 @@ +{ + "id": "9ab55e76-c5ad-4f15-9dfe-500015c97f94", + "name": "orgs_hibernate_teams", + "request": { + "url": "/orgs/hibernate/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate_teams-60.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:12 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8b7f68633b539d819d3d1d67b8e5fe5ed3c7bd1886358ec13739b692f2756dba\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4940", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "60", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5E4:03D4:2D1CF15:2E0BC6B:6221D6FC" + } + }, + "uuid": "9ab55e76-c5ad-4f15-9dfe-500015c97f94", + "persistent": true, + "scenarioName": "scenario-3-orgs-hibernate-teams", + "requiredScenarioState": "scenario-3-orgs-hibernate-teams-4", + "newScenarioState": "scenario-3-orgs-hibernate-teams-5", + "insertionIndex": 60 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-62.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-62.json new file mode 100644 index 0000000000..d7cebcc40a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-62.json @@ -0,0 +1,49 @@ +{ + "id": "460e9a17-4462-4b05-960e-8590393c8055", + "name": "orgs_hibernate_teams", + "request": { + "url": "/orgs/hibernate/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate_teams-62.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:12 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8b7f68633b539d819d3d1d67b8e5fe5ed3c7bd1886358ec13739b692f2756dba\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4938", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "62", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5E8:DC15:2F64B9C:305ACCD:6221D6FC" + } + }, + "uuid": "460e9a17-4462-4b05-960e-8590393c8055", + "persistent": true, + "scenarioName": "scenario-3-orgs-hibernate-teams", + "requiredScenarioState": "scenario-3-orgs-hibernate-teams-5", + "newScenarioState": "scenario-3-orgs-hibernate-teams-6", + "insertionIndex": 62 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-64.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-64.json new file mode 100644 index 0000000000..958607880d --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-64.json @@ -0,0 +1,49 @@ +{ + "id": "cd35cef1-e2b2-45e6-9af1-317a1cc7993d", + "name": "orgs_hibernate_teams", + "request": { + "url": "/orgs/hibernate/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate_teams-64.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:13 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8b7f68633b539d819d3d1d67b8e5fe5ed3c7bd1886358ec13739b692f2756dba\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4936", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "64", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5EC:89C6:18C70BA:195E2D1:6221D6FC" + } + }, + "uuid": "cd35cef1-e2b2-45e6-9af1-317a1cc7993d", + "persistent": true, + "scenarioName": "scenario-3-orgs-hibernate-teams", + "requiredScenarioState": "scenario-3-orgs-hibernate-teams-6", + "newScenarioState": "scenario-3-orgs-hibernate-teams-7", + "insertionIndex": 64 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-66.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-66.json new file mode 100644 index 0000000000..9a7c160b0c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-66.json @@ -0,0 +1,49 @@ +{ + "id": "2a854847-59b3-4e30-8947-2dfe3677603f", + "name": "orgs_hibernate_teams", + "request": { + "url": "/orgs/hibernate/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate_teams-66.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:13 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8b7f68633b539d819d3d1d67b8e5fe5ed3c7bd1886358ec13739b692f2756dba\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4934", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "66", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5F2:050B:2C9A997:2D8E7C5:6221D6FD" + } + }, + "uuid": "2a854847-59b3-4e30-8947-2dfe3677603f", + "persistent": true, + "scenarioName": "scenario-3-orgs-hibernate-teams", + "requiredScenarioState": "scenario-3-orgs-hibernate-teams-7", + "newScenarioState": "scenario-3-orgs-hibernate-teams-8", + "insertionIndex": 66 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-68.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-68.json new file mode 100644 index 0000000000..c94bbdf401 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-68.json @@ -0,0 +1,49 @@ +{ + "id": "3c5e138d-7595-40e4-b501-5d64bfde6e8e", + "name": "orgs_hibernate_teams", + "request": { + "url": "/orgs/hibernate/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate_teams-68.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:13 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8b7f68633b539d819d3d1d67b8e5fe5ed3c7bd1886358ec13739b692f2756dba\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4932", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "68", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5F6:2659:A6B634:AC2A60:6221D6FD" + } + }, + "uuid": "3c5e138d-7595-40e4-b501-5d64bfde6e8e", + "persistent": true, + "scenarioName": "scenario-3-orgs-hibernate-teams", + "requiredScenarioState": "scenario-3-orgs-hibernate-teams-8", + "newScenarioState": "scenario-3-orgs-hibernate-teams-9", + "insertionIndex": 68 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-70.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-70.json new file mode 100644 index 0000000000..4e326f24ba --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-70.json @@ -0,0 +1,49 @@ +{ + "id": "df4a6533-c28c-462f-8985-9bad58f2849f", + "name": "orgs_hibernate_teams", + "request": { + "url": "/orgs/hibernate/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate_teams-70.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:14 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8b7f68633b539d819d3d1d67b8e5fe5ed3c7bd1886358ec13739b692f2756dba\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4930", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "70", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5FA:4929:B6F7FA:BB80BE:6221D6FE" + } + }, + "uuid": "df4a6533-c28c-462f-8985-9bad58f2849f", + "persistent": true, + "scenarioName": "scenario-3-orgs-hibernate-teams", + "requiredScenarioState": "scenario-3-orgs-hibernate-teams-9", + "newScenarioState": "scenario-3-orgs-hibernate-teams-10", + "insertionIndex": 70 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-72.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-72.json new file mode 100644 index 0000000000..19f616d552 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hibernate_teams-72.json @@ -0,0 +1,48 @@ +{ + "id": "3cd31a2c-e337-4555-b51e-ce477caa1334", + "name": "orgs_hibernate_teams", + "request": { + "url": "/orgs/hibernate/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hibernate_teams-72.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:14 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8b7f68633b539d819d3d1d67b8e5fe5ed3c7bd1886358ec13739b692f2756dba\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4928", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "72", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5FE:4A80:41BA9BD:42D1611:6221D6FE" + } + }, + "uuid": "3cd31a2c-e337-4555-b51e-ce477caa1334", + "persistent": true, + "scenarioName": "scenario-3-orgs-hibernate-teams", + "requiredScenarioState": "scenario-3-orgs-hibernate-teams-10", + "insertionIndex": 72 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hub4j-test-org-51.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hub4j-test-org-51.json deleted file mode 100644 index 4c8e731776..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hub4j-test-org-51.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "a529986c-70bb-4329-9816-ec1f75673e9c", - "name": "orgs_hub4j-test-org", - "request": { - "url": "/orgs/hub4j-test-org", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org-51.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:37 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4867", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"9f594020395ec69662bd8dc1ceecdc09\"", - "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:111379D:145C1A3:5D969091" - } - }, - "uuid": "a529986c-70bb-4329-9816-ec1f75673e9c", - "persistent": true, - "insertionIndex": 51 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hub4j-test-org_teams-52.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hub4j-test-org_teams-52.json deleted file mode 100644 index 5485d99e12..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hub4j-test-org_teams-52.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "c4dada63-33ed-4ac0-856c-e35d466ac7f8", - "name": "orgs_hub4j-test-org_teams", - "request": { - "url": "/orgs/hub4j-test-org/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams-52.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:37 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4866", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"d73a82173554b9946f9c6dc2ec80456a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11137AF:145C1B9:5D969091" - } - }, - "uuid": "c4dada63-33ed-4ac0-856c-e35d466ac7f8", - "persistent": true, - "scenarioName": "scenario-5-orgs-hub4j-test-org-teams", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-5-orgs-hub4j-test-org-teams-2", - "insertionIndex": 52 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hub4j-test-org_teams-54.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hub4j-test-org_teams-54.json deleted file mode 100644 index ec646e8df9..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_hub4j-test-org_teams-54.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "4eeff351-c1bd-449c-bf07-0cd3d013dc9b", - "name": "orgs_hub4j-test-org_teams", - "request": { - "url": "/orgs/hub4j-test-org/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams-54.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:37 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4864", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"d73a82173554b9946f9c6dc2ec80456a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11137C9:145C1DA:5D969091" - } - }, - "uuid": "4eeff351-c1bd-449c-bf07-0cd3d013dc9b", - "persistent": true, - "scenarioName": "scenario-5-orgs-hub4j-test-org-teams", - "requiredScenarioState": "scenario-5-orgs-hub4j-test-org-teams-2", - "insertionIndex": 54 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jbossas-43.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jbossas-43.json new file mode 100644 index 0000000000..2a56784815 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jbossas-43.json @@ -0,0 +1,47 @@ +{ + "id": "772c0a76-3563-4e36-a4d3-71706c1bb657", + "name": "orgs_jbossas", + "request": { + "url": "/orgs/jbossas", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_jbossas-43.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:08 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"c75dd99a6ea3127f3eb67c9f53f4be9e78d9d250d317da941e525e4ee36a1fef\"", + "Last-Modified": "Thu, 13 Dec 2018 16:50:37 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4957", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "43", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5C0:361E:3FA7B13:40B87A0:6221D6F8" + } + }, + "uuid": "772c0a76-3563-4e36-a4d3-71706c1bb657", + "persistent": true, + "insertionIndex": 43 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jbossas_teams-44.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jbossas_teams-44.json new file mode 100644 index 0000000000..4d550c683b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jbossas_teams-44.json @@ -0,0 +1,46 @@ +{ + "id": "b53ddad8-8e6c-4635-ae92-6fa07c5471fa", + "name": "orgs_jbossas_teams", + "request": { + "url": "/orgs/jbossas/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_jbossas_teams-44.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"e92382eaf98a1c204cb9356953c42179c3d1f90ce2d51d3901315d51415b7d29\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4956", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "44", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5C2:361E:3FA7B89:40B8814:6221D6F8" + } + }, + "uuid": "b53ddad8-8e6c-4635-ae92-6fa07c5471fa", + "persistent": true, + "insertionIndex": 44 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-inc-30.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-inc-30.json deleted file mode 100644 index ab597db07a..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-inc-30.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "e0b11bd2-736d-44c8-aa64-f5848d4691f6", - "name": "orgs_jenkins-inc", - "request": { - "url": "/orgs/jenkins-inc", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkins-inc-30.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:34 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4888", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"f514ef373296505e38cb2f238f243f40\"", - "Last-Modified": "Mon, 29 Feb 2016 18:11:10 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113667:145C025:5D96908E" - } - }, - "uuid": "e0b11bd2-736d-44c8-aa64-f5848d4691f6", - "persistent": true, - "insertionIndex": 30 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-inc_teams-31.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-inc_teams-31.json deleted file mode 100644 index fa5caf61bd..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-inc_teams-31.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "383d61fc-1c69-4ae1-919a-b98b678b47cd", - "name": "orgs_jenkins-inc_teams", - "request": { - "url": "/orgs/jenkins-inc/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkins-inc_teams-31.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:34 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4887", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"b99e79ef4aad1bb4dcbadfc02fb41347\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113677:145C036:5D96908E" - } - }, - "uuid": "383d61fc-1c69-4ae1-919a-b98b678b47cd", - "persistent": true, - "insertionIndex": 31 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra-56.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra-56.json deleted file mode 100644 index a156c51ec0..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra-56.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "b7c4f477-4e3a-4505-874e-dd816080c7f4", - "name": "orgs_jenkins-infra", - "request": { - "url": "/orgs/jenkins-infra", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkins-infra-56.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:37 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4862", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"e48a304b3abd03ef2d3c449670e6e818\"", - "Last-Modified": "Tue, 07 Aug 2018 02:50:50 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11137E5:145C1F5:5D969091" - } - }, - "uuid": "b7c4f477-4e3a-4505-874e-dd816080c7f4", - "persistent": true, - "insertionIndex": 56 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-57.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-57.json deleted file mode 100644 index d273a3e104..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-57.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "196db464-b833-490c-97e4-79f79fe29f07", - "name": "orgs_jenkins-infra_teams", - "request": { - "url": "/orgs/jenkins-infra/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkins-infra_teams-57.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:37 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4861", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"d1b2884c6058f8b6c4e0fdd1271df48a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11137F3:145C204:5D969091" - } - }, - "uuid": "196db464-b833-490c-97e4-79f79fe29f07", - "persistent": true, - "scenarioName": "scenario-6-orgs-jenkins-infra-teams", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-6-orgs-jenkins-infra-teams-2", - "insertionIndex": 57 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-59.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-59.json deleted file mode 100644 index ee8076ce3e..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-59.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "b6bb7856-85f0-4bcb-9c9c-5ab9c1be8e74", - "name": "orgs_jenkins-infra_teams", - "request": { - "url": "/orgs/jenkins-infra/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkins-infra_teams-59.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:38 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4859", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"d1b2884c6058f8b6c4e0fdd1271df48a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113828:145C237:5D969092" - } - }, - "uuid": "b6bb7856-85f0-4bcb-9c9c-5ab9c1be8e74", - "persistent": true, - "scenarioName": "scenario-6-orgs-jenkins-infra-teams", - "requiredScenarioState": "scenario-6-orgs-jenkins-infra-teams-2", - "newScenarioState": "scenario-6-orgs-jenkins-infra-teams-3", - "insertionIndex": 59 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-61.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-61.json deleted file mode 100644 index f435dab8ab..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-61.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "a7f22b01-940f-40f5-9496-f3e0bd87dbf8", - "name": "orgs_jenkins-infra_teams", - "request": { - "url": "/orgs/jenkins-infra/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkins-infra_teams-61.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:38 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4857", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"d1b2884c6058f8b6c4e0fdd1271df48a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113845:145C269:5D969092" - } - }, - "uuid": "a7f22b01-940f-40f5-9496-f3e0bd87dbf8", - "persistent": true, - "scenarioName": "scenario-6-orgs-jenkins-infra-teams", - "requiredScenarioState": "scenario-6-orgs-jenkins-infra-teams-3", - "newScenarioState": "scenario-6-orgs-jenkins-infra-teams-4", - "insertionIndex": 61 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-63.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-63.json deleted file mode 100644 index b5faf38775..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-63.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "b5053ddf-d2f8-4ea4-a246-1118f02f3ac7", - "name": "orgs_jenkins-infra_teams", - "request": { - "url": "/orgs/jenkins-infra/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkins-infra_teams-63.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:39 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4855", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"d1b2884c6058f8b6c4e0fdd1271df48a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:111385C:145C285:5D969092" - } - }, - "uuid": "b5053ddf-d2f8-4ea4-a246-1118f02f3ac7", - "persistent": true, - "scenarioName": "scenario-6-orgs-jenkins-infra-teams", - "requiredScenarioState": "scenario-6-orgs-jenkins-infra-teams-4", - "newScenarioState": "scenario-6-orgs-jenkins-infra-teams-5", - "insertionIndex": 63 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-65.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-65.json deleted file mode 100644 index 76e9f6d775..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkins-infra_teams-65.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "f8bd811b-e074-4e0a-b2f3-dc3f749b5c07", - "name": "orgs_jenkins-infra_teams", - "request": { - "url": "/orgs/jenkins-infra/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkins-infra_teams-65.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:39 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4853", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"d1b2884c6058f8b6c4e0fdd1271df48a\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113870:145C2A0:5D969093" - } - }, - "uuid": "f8bd811b-e074-4e0a-b2f3-dc3f749b5c07", - "persistent": true, - "scenarioName": "scenario-6-orgs-jenkins-infra-teams", - "requiredScenarioState": "scenario-6-orgs-jenkins-infra-teams-5", - "insertionIndex": 65 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci-3.json deleted file mode 100644 index a436321a6d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci-3.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "eac3f0df-0404-4c43-9864-bf3d6f249294", - "name": "orgs_jenkinsci", - "request": { - "url": "/orgs/jenkinsci", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci-3.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:30 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4915", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"e3ef1784e60d0e3be8d29d643279e4ad\"", - "Last-Modified": "Mon, 25 Feb 2019 15:26:10 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11134B4:145BE13:5D969089" - } - }, - "uuid": "eac3f0df-0404-4c43-9864-bf3d6f249294", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-10.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-10.json deleted file mode 100644 index 8d591adc34..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-10.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "bedcaedb-24fc-4a6e-a099-b64fd26d4e97", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-10.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:31 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4908", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:111351E:145BE99:5D96908B", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "bedcaedb-24fc-4a6e-a099-b64fd26d4e97", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "scenario-1-orgs-jenkinsci-teams-4", - "newScenarioState": "scenario-1-orgs-jenkinsci-teams-5", - "insertionIndex": 10 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-13.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-13.json deleted file mode 100644 index f55919406d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-13.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "acf98bee-b6c1-4f33-b62e-f86b8d5445fe", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-13.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:31 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4905", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113554:145BED5:5D96908B", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "acf98bee-b6c1-4f33-b62e-f86b8d5445fe", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "scenario-1-orgs-jenkinsci-teams-5", - "newScenarioState": "scenario-1-orgs-jenkinsci-teams-6", - "insertionIndex": 13 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-15.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-15.json deleted file mode 100644 index b24958bf72..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-15.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "0aaf0590-1a5b-4323-8dbc-8fc63b3c5775", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-15.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:32 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4903", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113572:145BEF8:5D96908B", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "0aaf0590-1a5b-4323-8dbc-8fc63b3c5775", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "scenario-1-orgs-jenkinsci-teams-6", - "newScenarioState": "scenario-1-orgs-jenkinsci-teams-7", - "insertionIndex": 15 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-17.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-17.json deleted file mode 100644 index 523ccfa766..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-17.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "90bfe4fd-6ad3-429d-b35d-2cac4f0c83f4", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-17.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:32 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4901", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11135B4:145BF49:5D96908C", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "90bfe4fd-6ad3-429d-b35d-2cac4f0c83f4", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "scenario-1-orgs-jenkinsci-teams-7", - "newScenarioState": "scenario-1-orgs-jenkinsci-teams-8", - "insertionIndex": 17 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-19.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-19.json deleted file mode 100644 index 82f6b122d9..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-19.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "4922cdbe-d115-4bb4-94be-4f75c07fc45d", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-19.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:32 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4899", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11135CC:145BF66:5D96908C", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "4922cdbe-d115-4bb4-94be-4f75c07fc45d", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "scenario-1-orgs-jenkinsci-teams-8", - "newScenarioState": "scenario-1-orgs-jenkinsci-teams-9", - "insertionIndex": 19 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-22.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-22.json deleted file mode 100644 index b708e87f89..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-22.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "4b9e6062-54b4-41b5-ba0d-9c891b471122", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-22.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:33 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4896", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11135F5:145BF9A:5D96908C", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "4b9e6062-54b4-41b5-ba0d-9c891b471122", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "scenario-1-orgs-jenkinsci-teams-9", - "newScenarioState": "scenario-1-orgs-jenkinsci-teams-10", - "insertionIndex": 22 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-25.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-25.json deleted file mode 100644 index 926efec4f3..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-25.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "51a481cc-1f18-4eae-a2c7-3835859468b4", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-25.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:33 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4893", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113624:145BFD2:5D96908D", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "51a481cc-1f18-4eae-a2c7-3835859468b4", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "scenario-1-orgs-jenkinsci-teams-10", - "newScenarioState": "scenario-1-orgs-jenkinsci-teams-11", - "insertionIndex": 25 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-28.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-28.json deleted file mode 100644 index 4c22c398e7..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-28.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "id": "a9e65166-cb20-4ab8-ac9d-3ef6b07ecf08", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-28.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:33 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4890", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113656:145C00C:5D96908D", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "a9e65166-cb20-4ab8-ac9d-3ef6b07ecf08", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "scenario-1-orgs-jenkinsci-teams-11", - "insertionIndex": 28 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-4.json deleted file mode 100644 index a24501c49b..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-4.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "421fa98d-71d5-4c1c-a6cb-4f7f301668c7", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-4.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:30 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4914", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11134C3:145BE2C:5D96908A", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "421fa98d-71d5-4c1c-a6cb-4f7f301668c7", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-orgs-jenkinsci-teams-2", - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-6.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-6.json deleted file mode 100644 index b2bfdc1a76..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-6.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "7e7d35f3-0e07-4cbb-a814-e363eca72d3d", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-6.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:30 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4912", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:11134E3:145BE50:5D96908A", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "7e7d35f3-0e07-4cbb-a814-e363eca72d3d", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "scenario-1-orgs-jenkinsci-teams-2", - "newScenarioState": "scenario-1-orgs-jenkinsci-teams-3", - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-8.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-8.json deleted file mode 100644 index aa3a77830e..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_jenkinsci_teams-8.json +++ /dev/null @@ -1,51 +0,0 @@ -{ - "id": "2832b4d6-9274-4137-9421-4855660803ec", - "name": "orgs_jenkinsci_teams", - "request": { - "url": "/orgs/jenkinsci/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_jenkinsci_teams-8.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:30 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4910", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22fea8e6d0291a5332cbfaed016d7bab\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D601:78E9:1113501:145BE77:5D96908A", - "Link": "; rel=\"next\", ; rel=\"last\"" - } - }, - "uuid": "2832b4d6-9274-4137-9421-4855660803ec", - "persistent": true, - "scenarioName": "scenario-1-orgs-jenkinsci-teams", - "requiredScenarioState": "scenario-1-orgs-jenkinsci-teams-3", - "newScenarioState": "scenario-1-orgs-jenkinsci-teams-4", - "insertionIndex": 8 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pole-numerique-3.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pole-numerique-3.json new file mode 100644 index 0000000000..1c2d90b21c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pole-numerique-3.json @@ -0,0 +1,47 @@ +{ + "id": "9535a2fb-d0ae-4446-9110-b9a4e6125c24", + "name": "orgs_pole-numerique", + "request": { + "url": "/orgs/pole-numerique", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_pole-numerique-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:00 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"94f1df8290806efd0133c341229d7dbcd4615fd109e45d887d9dfb44087bc77c\"", + "Last-Modified": "Sun, 26 Jun 2016 05:58:54 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4997", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "3", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B56C:4A7F:2C44C07:2D37B2E:6221D6F0" + } + }, + "uuid": "9535a2fb-d0ae-4446-9110-b9a4e6125c24", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pole-numerique_teams-4.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pole-numerique_teams-4.json new file mode 100644 index 0000000000..74f16b4b0e --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pole-numerique_teams-4.json @@ -0,0 +1,46 @@ +{ + "id": "9120c641-34cb-40df-a495-989a179418af", + "name": "orgs_pole-numerique_teams", + "request": { + "url": "/orgs/pole-numerique/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_pole-numerique_teams-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:00 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"3191e57e7ae33d785fbe55af1c06e46cd3b61fc880492ee71305908e9f11d043\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4996", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "4", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B56E:4A7E:1B43749:1C15CE8:6221D6F0" + } + }, + "uuid": "9120c641-34cb-40df-a495-989a179418af", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pressgang-37.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pressgang-37.json new file mode 100644 index 0000000000..8e5001a34a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pressgang-37.json @@ -0,0 +1,47 @@ +{ + "id": "e1b6674d-dfed-48e1-9aa0-17cafdc3bee7", + "name": "orgs_pressgang", + "request": { + "url": "/orgs/pressgang", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_pressgang-37.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:07 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"451efd72a587595c02bf80a41e2a5aaeaa8319a1cd47caba5819494f44582d0f\"", + "Last-Modified": "Mon, 13 Apr 2015 14:07:44 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4963", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "37", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5B4:61AC:2AB3E7E:2BA34BF:6221D6F7" + } + }, + "uuid": "e1b6674d-dfed-48e1-9aa0-17cafdc3bee7", + "persistent": true, + "insertionIndex": 37 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pressgang_teams-38.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pressgang_teams-38.json new file mode 100644 index 0000000000..15d31f1c47 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_pressgang_teams-38.json @@ -0,0 +1,46 @@ +{ + "id": "1b3b6d70-9d1c-4913-bb1d-10a3995ae3b6", + "name": "orgs_pressgang_teams", + "request": { + "url": "/orgs/pressgang/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_pressgang_teams-38.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:07 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"cad5b3a86e1359282849db9ba83f386718dad6421d42decfb62d6d983c2c0a04\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4962", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "38", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5B6:050C:3E05AD8:3F1E31B:6221D6F7" + } + }, + "uuid": "1b3b6d70-9d1c-4913-bb1d-10a3995ae3b6", + "persistent": true, + "insertionIndex": 38 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse-81.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse-81.json new file mode 100644 index 0000000000..ef04579105 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse-81.json @@ -0,0 +1,47 @@ +{ + "id": "4f7cf083-6d64-4475-b207-ae9560fdd2f2", + "name": "orgs_quarkiverse", + "request": { + "url": "/orgs/quarkiverse", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkiverse-81.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:16 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"58f8936d0fcbe3a08757d6cc4dd7838d8c1f7983262dc1a54d34ba10cdc7b6f4\"", + "Last-Modified": "Wed, 02 Mar 2022 16:36:46 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4919", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "81", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B610:03D4:2D1D5F6:2E0C37E:6221D700" + } + }, + "uuid": "4f7cf083-6d64-4475-b207-ae9560fdd2f2", + "persistent": true, + "insertionIndex": 81 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-82.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-82.json new file mode 100644 index 0000000000..1742ff91eb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-82.json @@ -0,0 +1,50 @@ +{ + "id": "0ae6e8dc-b2b7-4038-a4cb-149d06bd313c", + "name": "orgs_quarkiverse_teams", + "request": { + "url": "/orgs/quarkiverse/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkiverse_teams-82.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:16 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"87bd93668c379d858b97c516491b469b138a0d722bf40ea99594d720c2b87c22\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4918", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "82", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B612:4929:B6FB59:BB8414:6221D700", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "0ae6e8dc-b2b7-4038-a4cb-149d06bd313c", + "persistent": true, + "scenarioName": "scenario-5-orgs-quarkiverse-teams", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-5-orgs-quarkiverse-teams-2", + "insertionIndex": 82 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-85.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-85.json new file mode 100644 index 0000000000..9bd272f747 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-85.json @@ -0,0 +1,50 @@ +{ + "id": "c9dd0049-53b6-4d2a-96dc-9ae329302e5c", + "name": "orgs_quarkiverse_teams", + "request": { + "url": "/orgs/quarkiverse/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkiverse_teams-85.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:17 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"87bd93668c379d858b97c516491b469b138a0d722bf40ea99594d720c2b87c22\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4915", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "85", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B618:5E62:33F70D:3843F8:6221D701", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "c9dd0049-53b6-4d2a-96dc-9ae329302e5c", + "persistent": true, + "scenarioName": "scenario-5-orgs-quarkiverse-teams", + "requiredScenarioState": "scenario-5-orgs-quarkiverse-teams-2", + "newScenarioState": "scenario-5-orgs-quarkiverse-teams-3", + "insertionIndex": 85 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-87.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-87.json new file mode 100644 index 0000000000..d0328a64b6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-87.json @@ -0,0 +1,50 @@ +{ + "id": "2efa5be1-ef0a-43ff-9fae-8ec668b8fe3b", + "name": "orgs_quarkiverse_teams", + "request": { + "url": "/orgs/quarkiverse/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkiverse_teams-87.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:17 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"87bd93668c379d858b97c516491b469b138a0d722bf40ea99594d720c2b87c22\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4913", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "87", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B61C:265F:1A510DB:1AC6501:6221D701", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "2efa5be1-ef0a-43ff-9fae-8ec668b8fe3b", + "persistent": true, + "scenarioName": "scenario-5-orgs-quarkiverse-teams", + "requiredScenarioState": "scenario-5-orgs-quarkiverse-teams-3", + "newScenarioState": "scenario-5-orgs-quarkiverse-teams-4", + "insertionIndex": 87 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-89.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-89.json new file mode 100644 index 0000000000..881d2792ff --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-89.json @@ -0,0 +1,50 @@ +{ + "id": "d1e1a9af-c5f9-4f77-a263-e972b26f3569", + "name": "orgs_quarkiverse_teams", + "request": { + "url": "/orgs/quarkiverse/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkiverse_teams-89.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:18 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"87bd93668c379d858b97c516491b469b138a0d722bf40ea99594d720c2b87c22\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4911", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "89", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B620:89C7:2736DD0:27E76AE:6221D702", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "d1e1a9af-c5f9-4f77-a263-e972b26f3569", + "persistent": true, + "scenarioName": "scenario-5-orgs-quarkiverse-teams", + "requiredScenarioState": "scenario-5-orgs-quarkiverse-teams-4", + "newScenarioState": "scenario-5-orgs-quarkiverse-teams-5", + "insertionIndex": 89 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-92.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-92.json new file mode 100644 index 0000000000..470a23cf2c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-92.json @@ -0,0 +1,50 @@ +{ + "id": "9686ba48-e244-47d3-9ceb-6b5dba80e741", + "name": "orgs_quarkiverse_teams", + "request": { + "url": "/orgs/quarkiverse/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkiverse_teams-92.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:19 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"87bd93668c379d858b97c516491b469b138a0d722bf40ea99594d720c2b87c22\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4908", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "92", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B626:61AD:3CB7317:3DC521A:6221D702", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "9686ba48-e244-47d3-9ceb-6b5dba80e741", + "persistent": true, + "scenarioName": "scenario-5-orgs-quarkiverse-teams", + "requiredScenarioState": "scenario-5-orgs-quarkiverse-teams-5", + "newScenarioState": "scenario-5-orgs-quarkiverse-teams-6", + "insertionIndex": 92 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-95.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-95.json new file mode 100644 index 0000000000..7c5c95ff35 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkiverse_teams-95.json @@ -0,0 +1,49 @@ +{ + "id": "4d0b969e-e001-4189-ad6b-97f623700986", + "name": "orgs_quarkiverse_teams", + "request": { + "url": "/orgs/quarkiverse/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkiverse_teams-95.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:19 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"87bd93668c379d858b97c516491b469b138a0d722bf40ea99594d720c2b87c22\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4905", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "95", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B62C:B363:4526BDB:46422F3:6221D703", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "4d0b969e-e001-4189-ad6b-97f623700986", + "persistent": true, + "scenarioName": "scenario-5-orgs-quarkiverse-teams", + "requiredScenarioState": "scenario-5-orgs-quarkiverse-teams-6", + "insertionIndex": 95 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio-20.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio-20.json new file mode 100644 index 0000000000..b674465066 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio-20.json @@ -0,0 +1,47 @@ +{ + "id": "bf817cf3-e85e-44ce-9703-fb4bc08ef943", + "name": "orgs_quarkusio", + "request": { + "url": "/orgs/quarkusio", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkusio-20.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"d6bc17de71affa549197267545494f8dcea1505f3a755a0b78ef40ed12ac87a2\"", + "Last-Modified": "Wed, 08 Apr 2020 04:51:14 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4980", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "20", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B590:4A80:41B9525:42D0130:6221D6F3" + } + }, + "uuid": "bf817cf3-e85e-44ce-9703-fb4bc08ef943", + "persistent": true, + "insertionIndex": 20 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-21.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-21.json new file mode 100644 index 0000000000..7136923fb0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-21.json @@ -0,0 +1,49 @@ +{ + "id": "98c51fac-6e21-4f4c-9d73-f5f0dad1315c", + "name": "orgs_quarkusio_teams", + "request": { + "url": "/orgs/quarkusio/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkusio_teams-21.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0a0bb2cf877ff5d1082645eb11f82b72b81c65052468cad7bdd115d5c6a7082d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4979", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "21", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B592:03D5:41C034C:42D0928:6221D6F4" + } + }, + "uuid": "98c51fac-6e21-4f4c-9d73-f5f0dad1315c", + "persistent": true, + "scenarioName": "scenario-2-orgs-quarkusio-teams", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-2-orgs-quarkusio-teams-2", + "insertionIndex": 21 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-23.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-23.json new file mode 100644 index 0000000000..a2aebac3ea --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-23.json @@ -0,0 +1,49 @@ +{ + "id": "7990a193-ffa3-458d-a660-66d87da43873", + "name": "orgs_quarkusio_teams", + "request": { + "url": "/orgs/quarkusio/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkusio_teams-23.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:04 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0a0bb2cf877ff5d1082645eb11f82b72b81c65052468cad7bdd115d5c6a7082d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4977", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "23", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B596:5E64:FAC60D:1006972:6221D6F4" + } + }, + "uuid": "7990a193-ffa3-458d-a660-66d87da43873", + "persistent": true, + "scenarioName": "scenario-2-orgs-quarkusio-teams", + "requiredScenarioState": "scenario-2-orgs-quarkusio-teams-2", + "newScenarioState": "scenario-2-orgs-quarkusio-teams-3", + "insertionIndex": 23 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-25.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-25.json new file mode 100644 index 0000000000..824b649cf2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-25.json @@ -0,0 +1,49 @@ +{ + "id": "b28a09ac-12c8-485e-aec2-bc844a9746cc", + "name": "orgs_quarkusio_teams", + "request": { + "url": "/orgs/quarkusio/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkusio_teams-25.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0a0bb2cf877ff5d1082645eb11f82b72b81c65052468cad7bdd115d5c6a7082d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4975", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "25", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B59A:DC16:4984380:4A9F5C7:6221D6F5" + } + }, + "uuid": "b28a09ac-12c8-485e-aec2-bc844a9746cc", + "persistent": true, + "scenarioName": "scenario-2-orgs-quarkusio-teams", + "requiredScenarioState": "scenario-2-orgs-quarkusio-teams-3", + "newScenarioState": "scenario-2-orgs-quarkusio-teams-4", + "insertionIndex": 25 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-27.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-27.json new file mode 100644 index 0000000000..a2ef320043 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-27.json @@ -0,0 +1,49 @@ +{ + "id": "ed0e3f78-3aaa-4137-9735-6576bd616c98", + "name": "orgs_quarkusio_teams", + "request": { + "url": "/orgs/quarkusio/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkusio_teams-27.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0a0bb2cf877ff5d1082645eb11f82b72b81c65052468cad7bdd115d5c6a7082d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4973", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "27", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B59E:9B21:4320C2D:4432308:6221D6F5" + } + }, + "uuid": "ed0e3f78-3aaa-4137-9735-6576bd616c98", + "persistent": true, + "scenarioName": "scenario-2-orgs-quarkusio-teams", + "requiredScenarioState": "scenario-2-orgs-quarkusio-teams-4", + "newScenarioState": "scenario-2-orgs-quarkusio-teams-5", + "insertionIndex": 27 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-29.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-29.json new file mode 100644 index 0000000000..0822c7ccef --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-29.json @@ -0,0 +1,49 @@ +{ + "id": "00fce576-7e04-443e-a2c0-a43cef2900df", + "name": "orgs_quarkusio_teams", + "request": { + "url": "/orgs/quarkusio/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkusio_teams-29.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:05 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0a0bb2cf877ff5d1082645eb11f82b72b81c65052468cad7bdd115d5c6a7082d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4971", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "29", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5A2:B363:452502A:46406E4:6221D6F5" + } + }, + "uuid": "00fce576-7e04-443e-a2c0-a43cef2900df", + "persistent": true, + "scenarioName": "scenario-2-orgs-quarkusio-teams", + "requiredScenarioState": "scenario-2-orgs-quarkusio-teams-5", + "newScenarioState": "scenario-2-orgs-quarkusio-teams-6", + "insertionIndex": 29 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-31.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-31.json new file mode 100644 index 0000000000..51723423ad --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-31.json @@ -0,0 +1,49 @@ +{ + "id": "8efb9243-8641-4331-b7a1-e8548d1f733b", + "name": "orgs_quarkusio_teams", + "request": { + "url": "/orgs/quarkusio/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkusio_teams-31.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0a0bb2cf877ff5d1082645eb11f82b72b81c65052468cad7bdd115d5c6a7082d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4969", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "31", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5A6:BF15:4156835:426559F:6221D6F6" + } + }, + "uuid": "8efb9243-8641-4331-b7a1-e8548d1f733b", + "persistent": true, + "scenarioName": "scenario-2-orgs-quarkusio-teams", + "requiredScenarioState": "scenario-2-orgs-quarkusio-teams-6", + "newScenarioState": "scenario-2-orgs-quarkusio-teams-7", + "insertionIndex": 31 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-33.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-33.json new file mode 100644 index 0000000000..24a1fd3ef7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-33.json @@ -0,0 +1,49 @@ +{ + "id": "fd34e5dc-1ce1-4a02-861e-4820617520cf", + "name": "orgs_quarkusio_teams", + "request": { + "url": "/orgs/quarkusio/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkusio_teams-33.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:06 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0a0bb2cf877ff5d1082645eb11f82b72b81c65052468cad7bdd115d5c6a7082d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4967", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "33", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5AC:4A80:41B9A80:42D069C:6221D6F6" + } + }, + "uuid": "fd34e5dc-1ce1-4a02-861e-4820617520cf", + "persistent": true, + "scenarioName": "scenario-2-orgs-quarkusio-teams", + "requiredScenarioState": "scenario-2-orgs-quarkusio-teams-7", + "newScenarioState": "scenario-2-orgs-quarkusio-teams-8", + "insertionIndex": 33 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-35.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-35.json new file mode 100644 index 0000000000..183f3b4a45 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_quarkusio_teams-35.json @@ -0,0 +1,48 @@ +{ + "id": "c05fe98c-6a37-4003-8bfe-bcfb6885798d", + "name": "orgs_quarkusio_teams", + "request": { + "url": "/orgs/quarkusio/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_quarkusio_teams-35.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:07 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"0a0bb2cf877ff5d1082645eb11f82b72b81c65052468cad7bdd115d5c6a7082d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4965", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "35", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5B0:DC16:498480D:4A9FA5E:6221D6F7" + } + }, + "uuid": "c05fe98c-6a37-4003-8bfe-bcfb6885798d", + "persistent": true, + "scenarioName": "scenario-2-orgs-quarkusio-teams", + "requiredScenarioState": "scenario-2-orgs-quarkusio-teams-8", + "insertionIndex": 35 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_redhat-developer-46.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_redhat-developer-46.json new file mode 100644 index 0000000000..05c4064ac9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_redhat-developer-46.json @@ -0,0 +1,47 @@ +{ + "id": "bd28b363-b114-4e33-8d7a-09257a5ed9d9", + "name": "orgs_redhat-developer", + "request": { + "url": "/orgs/redhat-developer", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_redhat-developer-46.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"390d92fc10a7848282593aa9c80ace4704ffff14d49ca5780582f599f16ea4f9\"", + "Last-Modified": "Thu, 05 Mar 2020 16:09:31 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4954", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "46", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5C8:050B:2C9A335:2D8E14F:6221D6F9" + } + }, + "uuid": "bd28b363-b114-4e33-8d7a-09257a5ed9d9", + "persistent": true, + "insertionIndex": 46 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_redhat-developer_teams-47.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_redhat-developer_teams-47.json new file mode 100644 index 0000000000..8bda24ef74 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/orgs_redhat-developer_teams-47.json @@ -0,0 +1,47 @@ +{ + "id": "96816186-56e5-4028-a2e7-57b92de38594", + "name": "orgs_redhat-developer_teams", + "request": { + "url": "/orgs/redhat-developer/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_redhat-developer_teams-47.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:08:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"938e4a61072266b4cbca08da9035ab0be13ce315cc55c670eb70023aa90dbad8\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4953", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "47", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B5CA:BF15:4156FDF:4265D56:6221D6F9", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "96816186-56e5-4028-a2e7-57b92de38594", + "persistent": true, + "insertionIndex": 47 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1450069_members_bitwiseman-50.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1450069_members_bitwiseman-50.json deleted file mode 100644 index b5a7287a8c..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1450069_members_bitwiseman-50.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "4957aebb-5d50-4bd0-9940-eb1d306ce903", - "name": "teams_1450069_members_bitwiseman", - "request": { - "url": "/teams/1450069/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:37 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4868", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:1113790:145C193:5D969090" - } - }, - "uuid": "4957aebb-5d50-4bd0-9940-eb1d306ce903", - "persistent": true, - "insertionIndex": 50 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1809126_members_bitwiseman-18.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1809126_members_bitwiseman-18.json deleted file mode 100644 index 865ef0441d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1809126_members_bitwiseman-18.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "242ec43b-8f06-48af-bc39-3846b930a448", - "name": "teams_1809126_members_bitwiseman", - "request": { - "url": "/teams/1809126/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:32 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4900", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11135BE:145BF57:5D96908C" - } - }, - "uuid": "242ec43b-8f06-48af-bc39-3846b930a448", - "persistent": true, - "insertionIndex": 18 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1882929_members_bitwiseman-66.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1882929_members_bitwiseman-66.json deleted file mode 100644 index 3ce6407456..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1882929_members_bitwiseman-66.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "285fc382-082e-418b-818a-bd0910f734b2", - "name": "teams_1882929_members_bitwiseman", - "request": { - "url": "/teams/1882929/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:39 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4852", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:111387C:145C2B0:5D969093" - } - }, - "uuid": "285fc382-082e-418b-818a-bd0910f734b2", - "persistent": true, - "insertionIndex": 66 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1941826_members_bitwiseman-32.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1941826_members_bitwiseman-32.json deleted file mode 100644 index fae504bbd4..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1941826_members_bitwiseman-32.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "094e4d6c-83dc-46cb-9ad3-587e52fd380d", - "name": "teams_1941826_members_bitwiseman", - "request": { - "url": "/teams/1941826/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:34 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4886", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:1113681:145C043:5D96908E" - } - }, - "uuid": "094e4d6c-83dc-46cb-9ad3-587e52fd380d", - "persistent": true, - "insertionIndex": 32 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1986920_members_bitwiseman-29.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1986920_members_bitwiseman-29.json deleted file mode 100644 index 3ae8d3be66..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_1986920_members_bitwiseman-29.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "0dd3d927-287e-4a21-8977-d4f9d7d6cc49", - "name": "teams_1986920_members_bitwiseman", - "request": { - "url": "/teams/1986920/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:34 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4889", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:111365E:145C016:5D96908D" - } - }, - "uuid": "0dd3d927-287e-4a21-8977-d4f9d7d6cc49", - "persistent": true, - "insertionIndex": 29 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2070581_members_bitwiseman-42.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2070581_members_bitwiseman-42.json deleted file mode 100644 index b22224d189..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2070581_members_bitwiseman-42.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "e22d18c0-2633-451c-a9cf-75bd37883fe1", - "name": "teams_2070581_members_bitwiseman", - "request": { - "url": "/teams/2070581/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:35 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4876", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:1113717:145C0F7:5D96908F" - } - }, - "uuid": "e22d18c0-2633-451c-a9cf-75bd37883fe1", - "persistent": true, - "insertionIndex": 42 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2185547_members_bitwiseman-14.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2185547_members_bitwiseman-14.json deleted file mode 100644 index 0d5a96cd4b..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2185547_members_bitwiseman-14.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "301ee9c8-0469-4653-a4b6-3e3965388517", - "name": "teams_2185547_members_bitwiseman", - "request": { - "url": "/teams/2185547/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:31 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4904", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:111356A:145BEEC:5D96908B" - } - }, - "uuid": "301ee9c8-0469-4653-a4b6-3e3965388517", - "persistent": true, - "insertionIndex": 14 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2188150_members_bitwiseman-58.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2188150_members_bitwiseman-58.json deleted file mode 100644 index 897d1b3525..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2188150_members_bitwiseman-58.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "1a21b5fd-a5dc-4149-a06a-f1184cb2e2a7", - "name": "teams_2188150_members_bitwiseman", - "request": { - "url": "/teams/2188150/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:38 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4860", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11137FC:145C213:5D969091" - } - }, - "uuid": "1a21b5fd-a5dc-4149-a06a-f1184cb2e2a7", - "persistent": true, - "insertionIndex": 58 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2278154_members_bitwiseman-60.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2278154_members_bitwiseman-60.json deleted file mode 100644 index 6549509ed5..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2278154_members_bitwiseman-60.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "2a2981c6-834d-4cfd-8a8b-5d163d398316", - "name": "teams_2278154_members_bitwiseman", - "request": { - "url": "/teams/2278154/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:38 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4858", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:1113834:145C257:5D969092" - } - }, - "uuid": "2a2981c6-834d-4cfd-8a8b-5d163d398316", - "persistent": true, - "insertionIndex": 60 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2300722_members_bitwiseman-7.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2300722_members_bitwiseman-7.json deleted file mode 100644 index 673ed59197..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2300722_members_bitwiseman-7.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "9bec5681-b961-4122-b399-39d654daf95a", - "name": "teams_2300722_members_bitwiseman", - "request": { - "url": "/teams/2300722/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:30 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4911", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11134F4:145BE63:5D96908A" - } - }, - "uuid": "9bec5681-b961-4122-b399-39d654daf95a", - "persistent": true, - "insertionIndex": 7 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2384898_members_bitwiseman-40.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2384898_members_bitwiseman-40.json deleted file mode 100644 index 4bf4ec15b0..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2384898_members_bitwiseman-40.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "95da1778-ddf4-4040-8777-5110e25a7615", - "name": "teams_2384898_members_bitwiseman", - "request": { - "url": "/teams/2384898/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:35 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4878", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:1113703:145C0E0:5D96908F" - } - }, - "uuid": "95da1778-ddf4-4040-8777-5110e25a7615", - "persistent": true, - "insertionIndex": 40 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2384906_members_bitwiseman-36.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2384906_members_bitwiseman-36.json deleted file mode 100644 index 4765a65a94..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2384906_members_bitwiseman-36.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "f56cc484-a4ed-4467-908d-8bcd914912b2", - "name": "teams_2384906_members_bitwiseman", - "request": { - "url": "/teams/2384906/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:35 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4882", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11136C7:145C091:5D96908E" - } - }, - "uuid": "f56cc484-a4ed-4467-908d-8bcd914912b2", - "persistent": true, - "insertionIndex": 36 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2478842_members_bitwiseman-16.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2478842_members_bitwiseman-16.json deleted file mode 100644 index f796957317..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2478842_members_bitwiseman-16.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "89727f43-cf60-42af-bf7f-c5016281db3b", - "name": "teams_2478842_members_bitwiseman", - "request": { - "url": "/teams/2478842/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:32 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4902", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11135A6:145BF1D:5D96908C" - } - }, - "uuid": "89727f43-cf60-42af-bf7f-c5016281db3b", - "persistent": true, - "insertionIndex": 16 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2510135_members_bitwiseman-62.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2510135_members_bitwiseman-62.json deleted file mode 100644 index 0ad7dc9ba1..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2510135_members_bitwiseman-62.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "0a39104c-3aa9-4b48-a988-87fc0323775e", - "name": "teams_2510135_members_bitwiseman", - "request": { - "url": "/teams/2510135/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:38 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4856", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:111384F:145C279:5D969092" - } - }, - "uuid": "0a39104c-3aa9-4b48-a988-87fc0323775e", - "persistent": true, - "insertionIndex": 62 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2658933_members_bitwiseman-64.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2658933_members_bitwiseman-64.json deleted file mode 100644 index a2c999334a..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2658933_members_bitwiseman-64.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "23b3d855-2f24-4554-8643-cb24e153b67d", - "name": "teams_2658933_members_bitwiseman", - "request": { - "url": "/teams/2658933/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:39 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4854", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:1113865:145C291:5D969093" - } - }, - "uuid": "23b3d855-2f24-4554-8643-cb24e153b67d", - "persistent": true, - "insertionIndex": 64 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2832516_members_bitwiseman-27.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2832516_members_bitwiseman-27.json deleted file mode 100644 index 878007bed2..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2832516_members_bitwiseman-27.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "01adc070-798a-4862-b0cf-6d96ca6ac5e2", - "name": "teams_2832516_members_bitwiseman", - "request": { - "url": "/teams/2832516/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:33 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4891", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:111364C:145BFFE:5D96908D" - } - }, - "uuid": "01adc070-798a-4862-b0cf-6d96ca6ac5e2", - "persistent": true, - "insertionIndex": 27 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2832517_members_bitwiseman-21.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2832517_members_bitwiseman-21.json deleted file mode 100644 index 085babbda1..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2832517_members_bitwiseman-21.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "bd3f9695-f9e7-43e5-af7b-aeb5f71e352e", - "name": "teams_2832517_members_bitwiseman", - "request": { - "url": "/teams/2832517/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:32 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4897", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11135E7:145BF8B:5D96908C" - } - }, - "uuid": "bd3f9695-f9e7-43e5-af7b-aeb5f71e352e", - "persistent": true, - "insertionIndex": 21 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2915408_members_bitwiseman-45.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2915408_members_bitwiseman-45.json deleted file mode 100644 index 2eb2d1c3ea..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2915408_members_bitwiseman-45.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "b4fb1896-a01e-49a3-873b-2b8712decd5b", - "name": "teams_2915408_members_bitwiseman", - "request": { - "url": "/teams/2915408/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:36 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4873", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:1113749:145C133:5D969090" - } - }, - "uuid": "b4fb1896-a01e-49a3-873b-2b8712decd5b", - "persistent": true, - "insertionIndex": 45 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2934265_members_bitwiseman-24.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2934265_members_bitwiseman-24.json deleted file mode 100644 index eaf6fe1dce..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_2934265_members_bitwiseman-24.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "f07c2ba7-3b7a-43df-ba10-8ac877892c1f", - "name": "teams_2934265_members_bitwiseman", - "request": { - "url": "/teams/2934265/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:33 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4894", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:1113619:145BFC2:5D96908D" - } - }, - "uuid": "f07c2ba7-3b7a-43df-ba10-8ac877892c1f", - "persistent": true, - "insertionIndex": 24 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_3023453_members_bitwiseman-12.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_3023453_members_bitwiseman-12.json deleted file mode 100644 index bbbd5fb554..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_3023453_members_bitwiseman-12.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "2724fa0c-cdc2-4977-85de-0d3022e0680f", - "name": "teams_3023453_members_bitwiseman", - "request": { - "url": "/teams/3023453/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:31 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4906", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:111354A:145BECD:5D96908B" - } - }, - "uuid": "2724fa0c-cdc2-4977-85de-0d3022e0680f", - "persistent": true, - "insertionIndex": 12 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_3136781_members_bitwiseman-48.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_3136781_members_bitwiseman-48.json deleted file mode 100644 index b36a8b9e43..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_3136781_members_bitwiseman-48.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "ea7a1b90-f299-4265-a22d-ef286bb1229e", - "name": "teams_3136781_members_bitwiseman", - "request": { - "url": "/teams/3136781/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:36 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4870", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:1113776:145C16F:5D969090" - } - }, - "uuid": "ea7a1b90-f299-4265-a22d-ef286bb1229e", - "persistent": true, - "insertionIndex": 48 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_3451996_members_bitwiseman-55.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_3451996_members_bitwiseman-55.json deleted file mode 100644 index 8e1a2b01d1..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_3451996_members_bitwiseman-55.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "0e9309e5-a4ff-464d-9fff-eae6c4a28df2", - "name": "teams_3451996_members_bitwiseman", - "request": { - "url": "/teams/3451996/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:37 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4863", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11137D3:145C1E7:5D969091" - } - }, - "uuid": "0e9309e5-a4ff-464d-9fff-eae6c4a28df2", - "persistent": true, - "insertionIndex": 55 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_496711_members_bitwiseman-9.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_496711_members_bitwiseman-9.json deleted file mode 100644 index 58b1926f6e..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_496711_members_bitwiseman-9.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "9e90f95d-7856-4183-9623-3187ae8ff3bd", - "name": "teams_496711_members_bitwiseman", - "request": { - "url": "/teams/496711/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:31 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4909", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:1113512:145BE8B:5D96908A" - } - }, - "uuid": "9e90f95d-7856-4183-9623-3187ae8ff3bd", - "persistent": true, - "insertionIndex": 9 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_663296_members_bitwiseman-69.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_663296_members_bitwiseman-69.json deleted file mode 100644 index 0e2ef87c22..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_663296_members_bitwiseman-69.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "a7553907-7516-490b-be55-84fad2f47610", - "name": "teams_663296_members_bitwiseman", - "request": { - "url": "/teams/663296/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:39 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4849", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11138A2:145C2E0:5D969093" - } - }, - "uuid": "a7553907-7516-490b-be55-84fad2f47610", - "persistent": true, - "insertionIndex": 69 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_711073_members_bitwiseman-5.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_711073_members_bitwiseman-5.json deleted file mode 100644 index 5bee31893e..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_711073_members_bitwiseman-5.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "9723ac0d-e1c9-462f-b1fc-f10acb89629d", - "name": "teams_711073_members_bitwiseman", - "request": { - "url": "/teams/711073/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:30 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4913", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11134D9:145BE41:5D96908A" - } - }, - "uuid": "9723ac0d-e1c9-462f-b1fc-f10acb89629d", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_820404_members_bitwiseman-53.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_820404_members_bitwiseman-53.json deleted file mode 100644 index 418febc469..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_820404_members_bitwiseman-53.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "be6df5bf-2958-4489-bf5c-ce8c65cb84d2", - "name": "teams_820404_members_bitwiseman", - "request": { - "url": "/teams/820404/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:37 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4865", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11137BC:145C1C8:5D969091" - } - }, - "uuid": "be6df5bf-2958-4489-bf5c-ce8c65cb84d2", - "persistent": true, - "insertionIndex": 53 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_879403_members_bitwiseman-38.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_879403_members_bitwiseman-38.json deleted file mode 100644 index ea3d82525d..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/teams_879403_members_bitwiseman-38.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "id": "189224de-792d-45ba-993a-878171e9a63f", - "name": "teams_879403_members_bitwiseman", - "request": { - "url": "/teams/879403/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:35 GMT", - "Server": "GitHub.com", - "Status": "204 No Content", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4880", - "X-RateLimit-Reset": "1570151182", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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'", - "Vary": "Accept-Encoding", - "X-GitHub-Request-Id": "D601:78E9:11136E6:145C0B8:5D96908F" - } - }, - "uuid": "189224de-792d-45ba-993a-878171e9a63f", - "persistent": true, - "insertionIndex": 38 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user-1.json deleted file mode 100644 index 51e89eff55..0000000000 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user-1.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "9a793342-57f8-4135-bd51-f0f96e57d45b", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Date": "Fri, 04 Oct 2019 00:21:28 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4918", - "X-RateLimit-Reset": "1570151182", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"af0c41afcacb8ceee14b7d896719c3bd\"", - "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D601:78E9:111343F:145BD84:5D969088" - } - }, - "uuid": "9a793342-57f8-4135-bd51-f0f96e57d45b", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/user-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user-5.json similarity index 57% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/user-1.json rename to src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user-5.json index c14f8d0a03..e64e070ac8 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/user-1.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user-5.json @@ -1,5 +1,5 @@ { - "id": "4db960bc-5fa4-461a-917a-a2de0c87197f", + "id": "2b62d9ff-b2bc-4456-99d3-d9e3ce6301cb", "name": "user", "request": { "url": "/user", @@ -12,25 +12,25 @@ }, "response": { "status": 200, - "bodyFileName": "user-1.json", + "bodyFileName": "user-5.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 19:47:10 GMT", + "Date": "Fri, 04 Mar 2022 09:08:00 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"7d2e42d69758f3c7060997c9a88c293f4237ce285fcbf679eaf339afa7810d0d\"", - "Last-Modified": "Tue, 14 Sep 2021 16:32:13 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "ETag": "W/\"b61781908b2657bea2a999803e450b238646703ac6e4257ec9cc2f354c372096\"", + "Last-Modified": "Fri, 11 Feb 2022 15:07:48 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4994", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "6", + "X-RateLimit-Remaining": "4995", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "5", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -38,10 +38,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D3C4:57F9:D8FB:E6FF:6140FC3E" + "X-GitHub-Request-Id": "B570:89C4:7675FE:7DB4FA:6221D6F0" } }, - "uuid": "4db960bc-5fa4-461a-917a-a2de0c87197f", + "uuid": "2b62d9ff-b2bc-4456-99d3-d9e3ce6301cb", "persistent": true, - "insertionIndex": 1 + "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user_teams-1.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user_teams-1.json new file mode 100644 index 0000000000..7c37e20f66 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user_teams-1.json @@ -0,0 +1,47 @@ +{ + "id": "34af1419-a56b-4732-b7a8-6b8b9e7de5f1", + "name": "user_teams", + "request": { + "url": "/user/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "user_teams-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 09:07:59 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"5bda91a4830c619fa2786284945ce942a89a36e6fef2043d97be6b63056f3b4f\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4999", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "1", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B568:89C6:18C5DD6:195CF8A:6221D6EF", + "Link": "; rel=\"next\", ; rel=\"last\"" + } + }, + "uuid": "34af1419-a56b-4732-b7a8-6b8b9e7de5f1", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user_teams-2.json b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user_teams-2.json index 4fdddfb174..b79bc1d445 100644 --- a/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user_teams-2.json +++ b/src/test/resources/org/kohsuke/github/AppTest/wiremock/testMyTeamsShouldIncludeMyself/mappings/user_teams-2.json @@ -1,8 +1,8 @@ { - "id": "d60dafe1-79c4-4212-9544-739b7ee976b9", + "id": "33554c87-ec7f-4c34-a98e-3d9ca71d6f5e", "name": "user_teams", "request": { - "url": "/user/teams", + "url": "/user/teams?page=2", "method": "GET", "headers": { "Accept": { @@ -14,34 +14,34 @@ "status": 200, "bodyFileName": "user_teams-2.json", "headers": { - "Date": "Fri, 04 Oct 2019 00:21:29 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4916", - "X-RateLimit-Reset": "1570151182", + "Date": "Fri, 04 Mar 2022 09:08:00 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" + "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"06e08fc04ec1c6d8e8b878742cc2c972\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "ETag": "W/\"2b7cd758e1510f9f439b4fa51468e6daf39e5003f6e761ed595a42ede696731a\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "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": "*", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4998", + "X-RateLimit-Reset": "1646388479", + "X-RateLimit-Used": "2", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D601:78E9:1113466:145BD95:5D969088" + "X-GitHub-Request-Id": "B56A:DC16:4983614:4A9E825:6221D6EF", + "Link": "; rel=\"prev\", ; rel=\"first\"" } }, - "uuid": "d60dafe1-79c4-4212-9544-739b7ee976b9", + "uuid": "33554c87-ec7f-4c34-a98e-3d9ca71d6f5e", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/teams_3531422_repos-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/organizations_7544739_team_5756591_repos-4.json similarity index 92% rename from src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/teams_3531422_repos-5.json rename to src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/organizations_7544739_team_5756591_repos-4.json index e8b7b1deeb..c27cf104b1 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/teams_3531422_repos-5.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/organizations_7544739_team_5756591_repos-4.json @@ -4,11 +4,12 @@ "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", "name": "github-api", "full_name": "hub4j-test-org/github-api", + "private": false, "owner": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -24,9 +25,8 @@ "type": "Organization", "site_admin": false }, - "private": false, "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Resetting", + "description": "Tricky", "fork": true, "url": "https://api.github.com/repos/hub4j-test-org/github-api", "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks", @@ -66,14 +66,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-11-07T22:27:11Z", - "pushed_at": "2019-10-21T22:34:49Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-01-16T10:46:19Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -86,7 +86,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 0, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -94,14 +94,20 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 0, + "open_issues": 8, "watchers": 0, "default_branch": "main", "permissions": { - "pull": true, + "admin": false, + "maintain": false, "push": false, - "admin": false - } + "triage": false, + "pull": true + }, + "role_name": "read" } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org-1.json similarity index 83% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org-2.json rename to src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org-1.json index 6a53d8b196..162ceb1c73 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org-2.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org-1.json @@ -20,7 +20,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 19, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, @@ -28,8 +28,8 @@ "created_at": "2014-05-10T19:39:11Z", "updated_at": "2020-06-04T05:56:10Z", "type": "Organization", - "total_private_repos": 2, - "owned_private_repos": 2, + "total_private_repos": 3, + "owned_private_repos": 3, "private_gists": 0, "disk_usage": 11979, "collaborators": 0, @@ -37,14 +37,19 @@ "default_repository_permission": "none", "members_can_create_repositories": false, "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, "members_can_create_pages": true, + "members_can_fork_private_repositories": false, "members_can_create_public_pages": true, "members_can_create_private_pages": true, "plan": { "name": "free", "space": 976562499, "private_repos": 10000, - "filled_seats": 26, + "filled_seats": 35, "seats": 3 } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index ded9e6346b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 10, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-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": 9, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org_teams-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org_teams-3.json new file mode 100644 index 0000000000..699815881c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org_teams-3.json @@ -0,0 +1,49 @@ +{ + "name": "create-team-test", + "id": 5756591, + "node_id": "T_kwDOAHMfo84AV9av", + "slug": "create-team-test", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/5756591", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/create-team-test", + "members_url": "https://api.github.com/organizations/7544739/team/5756591/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/5756591/repos", + "permission": "pull", + "parent": null, + "created_at": "2022-03-04T10:45:13Z", + "updated_at": "2022-03-04T10:45:13Z", + "members_count": 1, + "repos_count": 1, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org_teams-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org_teams-4.json deleted file mode 100644 index f31cbbe2fd..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/orgs_hub4j-test-org_teams-4.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "create-team-test", - "id": 3531422, - "node_id": "MDQ6VGVhbTM1MzE0MjI=", - "slug": "create-team-test", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/3531422", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/create-team-test", - "members_url": "https://api.github.com/teams/3531422/members{/member}", - "repositories_url": "https://api.github.com/teams/3531422/repos", - "permission": "pull", - "created_at": "2019-11-20T01:07:57Z", - "updated_at": "2019-11-20T01:07:57Z", - "members_count": 0, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 10, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-2.json similarity index 90% rename from src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-3.json rename to src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-2.json index 51f6057521..7d9f3ef83b 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-2.json @@ -8,7 +8,7 @@ "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -65,14 +65,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-10-30T01:54:39Z", - "pushed_at": "2019-10-21T22:34:49Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-01-16T10:46:19Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -85,7 +85,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 0, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -93,23 +93,33 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 0, + "open_issues": 8, "watchers": 0, "default_branch": "main", "permissions": { "admin": true, + "maintain": true, "push": true, + "triage": true, "pull": true }, + "temp_clone_token": "", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": false, + "allow_update_branch": false, "organization": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -135,7 +145,7 @@ "login": "hub4j", "id": 54909825, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j", "html_url": "https://github.com/hub4j", @@ -192,27 +202,27 @@ "releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments", "created_at": "2010-04-19T04:13:03Z", - "updated_at": "2019-11-01T11:49:24Z", - "pushed_at": "2019-11-01T01:49:29Z", + "updated_at": "2022-03-03T02:38:58Z", + "pushed_at": "2022-03-03T22:17:45Z", "git_url": "git://github.com/hub4j/github-api.git", "ssh_url": "git@github.com:hub4j/github-api.git", "clone_url": "https://github.com/hub4j/github-api.git", "svn_url": "https://github.com/hub4j/github-api", - "homepage": "http://github-api.kohsuke.org/", - "size": 14820, - "stargazers_count": 571, - "watchers_count": 571, + "homepage": "https://github-api.kohsuke.org/", + "size": 39198, + "stargazers_count": 868, + "watchers_count": 868, "language": "Java", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 434, + "forks_count": 596, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 66, + "open_issues_count": 98, "license": { "key": "mit", "name": "MIT License", @@ -220,9 +230,21 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, - "forks": 434, - "open_issues": 66, - "watchers": 571, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 596, + "open_issues": 98, + "watchers": 868, "default_branch": "main" }, "source": { @@ -235,7 +257,7 @@ "login": "hub4j", "id": 54909825, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j", "html_url": "https://github.com/hub4j", @@ -292,27 +314,27 @@ "releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments", "created_at": "2010-04-19T04:13:03Z", - "updated_at": "2019-11-01T11:49:24Z", - "pushed_at": "2019-11-01T01:49:29Z", + "updated_at": "2022-03-03T02:38:58Z", + "pushed_at": "2022-03-03T22:17:45Z", "git_url": "git://github.com/hub4j/github-api.git", "ssh_url": "git@github.com:hub4j/github-api.git", "clone_url": "https://github.com/hub4j/github-api.git", "svn_url": "https://github.com/hub4j/github-api", - "homepage": "http://github-api.kohsuke.org/", - "size": 14820, - "stargazers_count": 571, - "watchers_count": 571, + "homepage": "https://github-api.kohsuke.org/", + "size": 39198, + "stargazers_count": 868, + "watchers_count": 868, "language": "Java", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 434, + "forks_count": 596, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 66, + "open_issues_count": 98, "license": { "key": "mit", "name": "MIT License", @@ -320,11 +342,23 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, - "forks": 434, - "open_issues": 66, - "watchers": 571, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 596, + "open_issues": 98, + "watchers": 868, "default_branch": "main" }, - "network_count": 434, - "subscribers_count": 0 + "network_count": 596, + "subscribers_count": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/user-1.json deleted file mode 100644 index ee0bf1e3a3..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/user-1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "login": "asthinasthi", - "id": 4577101, - "node_id": "MDQ6VXNlcjQ1NzcxMDE=", - "avatar_url": "https://avatars1.githubusercontent.com/u/4577101?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/asthinasthi", - "html_url": "https://github.com/asthinasthi", - "followers_url": "https://api.github.com/users/asthinasthi/followers", - "following_url": "https://api.github.com/users/asthinasthi/following{/other_user}", - "gists_url": "https://api.github.com/users/asthinasthi/gists{/gist_id}", - "starred_url": "https://api.github.com/users/asthinasthi/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/asthinasthi/subscriptions", - "organizations_url": "https://api.github.com/users/asthinasthi/orgs", - "repos_url": "https://api.github.com/users/asthinasthi/repos", - "events_url": "https://api.github.com/users/asthinasthi/events{/privacy}", - "received_events_url": "https://api.github.com/users/asthinasthi/received_events", - "type": "User", - "site_admin": false, - "name": "Anirudh Mathad", - "company": "Adobe", - "blog": "", - "location": "San Jose", - "email": "anirudh.mathad@gmail.com", - "hireable": null, - "bio": "Backend Engineer", - "public_repos": 43, - "public_gists": 1, - "followers": 12, - "following": 35, - "created_at": "2013-05-31T05:50:17Z", - "updated_at": "2019-11-19T18:23:21Z", - "private_gists": 3, - "total_private_repos": 1, - "owned_private_repos": 1, - "disk_usage": 122519, - "collaborators": 0, - "two_factor_authentication": false, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/organizations_7544739_team_5756591_repos-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/organizations_7544739_team_5756591_repos-4.json new file mode 100644 index 0000000000..5f86965ff7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/organizations_7544739_team_5756591_repos-4.json @@ -0,0 +1,46 @@ +{ + "id": "1e2b95e4-3fc0-4116-b224-ddfd18eac114", + "name": "organizations_7544739_team_5756591_repos", + "request": { + "url": "/organizations/7544739/team/5756591/repos", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_5756591_repos-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:45:14 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"ede514c5fe05291bf389c54afae35ac0788e6eb1448e469a4f51bea4ea3e7f2a\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4963", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "37", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA28:4A7F:2E5766B:2F54737:6221EDBA" + } + }, + "uuid": "1e2b95e4-3fc0-4116-b224-ddfd18eac114", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org-1.json similarity index 57% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org-2.json rename to src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org-1.json index 91bee12bbe..e98f369136 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org-2.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org-1.json @@ -1,5 +1,5 @@ { - "id": "db9b96a5-fe2c-487d-8fbe-777c821a637a", + "id": "ace75e4e-f8a9-4557-aae0-9b8e4f2ba878", "name": "orgs_hub4j-test-org", "request": { "url": "/orgs/hub4j-test-org", @@ -12,35 +12,36 @@ }, "response": { "status": 200, - "bodyFileName": "orgs_hub4j-test-org-2.json", + "bodyFileName": "orgs_hub4j-test-org-1.json", "headers": { "Server": "GitHub.com", - "Date": "Wed, 15 Jul 2020 20:38:33 GMT", + "Date": "Fri, 04 Mar 2022 10:45:12 GMT", "Content-Type": "application/json; charset=utf-8", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4988", - "X-RateLimit-Reset": "1594848477", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"6bd323dd4ab2a01dae2464621246c3cd\"", + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4966", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "34", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CB6B:7F44:5E37B7:DCCBC7:5F0F6948" + "X-GitHub-Request-Id": "BA22:89C4:7EC56B:867774:6221EDB8" } }, - "uuid": "db9b96a5-fe2c-487d-8fbe-777c821a637a", + "uuid": "ace75e4e-f8a9-4557-aae0-9b8e4f2ba878", "persistent": true, - "insertionIndex": 2 + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index de9914cd9f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "b46fc09e-f6b1-470b-b070-d37c25eb5096", - "name": "orgs_hub4j-test-org", - "request": { - "url": "/orgs/hub4j-test-org", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org-2.json", - "headers": { - "Date": "Wed, 20 Nov 2019 01:07:56 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4941", - "X-RateLimit-Reset": "1574215499", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"06bf8d27c18bdcae52cacdb1c04e5618\"", - "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, read:packages, repo, user, workflow, write:discussion, write:packages", - "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": "84E8:8C36:9EA5B0:B90507:5DD491EC" - } - }, - "uuid": "b46fc09e-f6b1-470b-b070-d37c25eb5096", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org_teams-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org_teams-3.json new file mode 100644 index 0000000000..3320cf1a30 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org_teams-3.json @@ -0,0 +1,54 @@ +{ + "id": "5acf975b-dfae-4ffc-b154-914bed3a631a", + "name": "orgs_hub4j-test-org_teams", + "request": { + "url": "/orgs/hub4j-test-org/teams", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"name\":\"create-team-test\",\"repo_names\":[\"hub4j-test-org/github-api\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "orgs_hub4j-test-org_teams-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:45:14 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"a3bf889dcc670b78bb9cdc3d19b2c949a4c95b208a4d6cbc2bfa4342fdc08a0b\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4964", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "36", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA26:4A7D:EEF872:FAF405:6221EDB9", + "Location": "https://api.github.com/organizations/7544739/team/5756591" + } + }, + "uuid": "5acf975b-dfae-4ffc-b154-914bed3a631a", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org_teams-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org_teams-4.json deleted file mode 100644 index b723263561..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/orgs_hub4j-test-org_teams-4.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "93bbb3e2-5dd1-41f1-b527-1e431a0213b7", - "name": "orgs_hub4j-test-org_teams", - "request": { - "url": "/orgs/hub4j-test-org/teams", - "method": "POST", - "bodyPatterns": [ - { - "equalToJson": "{\"name\":\"create-team-test\",\"repo_names\":[\"hub4j-test-org/github-api\"]}", - "ignoreArrayOrder": true, - "ignoreExtraElements": true - } - ], - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 201, - "bodyFileName": "orgs_hub4j-test-org_teams-4.json", - "headers": { - "Date": "Wed, 20 Nov 2019 01:07:58 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4939", - "X-RateLimit-Reset": "1574215499", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "\"454ab73d1808f8bc3abc9478505ad221\"", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, read:packages, repo, user, workflow, write:discussion, write:packages", - "X-Accepted-OAuth-Scopes": "admin:org, repo", - "Location": "https://api.github.com/teams/3531422", - "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": "84E8:8C36:9EA5E9:B90588:5DD491ED" - } - }, - "uuid": "93bbb3e2-5dd1-41f1-b527-1e431a0213b7", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/repos_hub4j-test-org_github-api-2.json new file mode 100644 index 0000000000..0acb8f184a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/repos_hub4j-test-org_github-api-2.json @@ -0,0 +1,47 @@ +{ + "id": "5f53ead3-4bec-4797-a866-b4f555cef6f3", + "name": "repos_hub4j-test-org_github-api", + "request": { + "url": "/repos/hub4j-test-org/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:45:13 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1c2c68b5cb572680f51498796d0b11bee390107942cb9d9c88b25679760a86c7\"", + "Last-Modified": "Tue, 09 Nov 2021 20:13:29 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4965", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "35", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA24:5E64:118CBEB:11F1107:6221EDB8" + } + }, + "uuid": "5f53ead3-4bec-4797-a866-b4f555cef6f3", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/repos_hub4j-test-org_github-api-3.json deleted file mode 100644 index e948470612..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/repos_hub4j-test-org_github-api-3.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "8907242a-a66e-45d4-a01e-3f12bfa099a2", - "name": "repos_hub4j-test-org_github-api", - "request": { - "url": "/repos/hub4j-test-org/github-api", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api-3.json", - "headers": { - "Date": "Wed, 20 Nov 2019 01:07:57 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4940", - "X-RateLimit-Reset": "1574215499", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"5f93d5d1afae66d9e8f982e4cad293b6\"", - "Last-Modified": "Thu, 07 Nov 2019 22:27:11 GMT", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, read:packages, repo, user, workflow, write:discussion, write:packages", - "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "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": "84E8:8C36:9EA5C8:B9056B:5DD491EC" - } - }, - "uuid": "8907242a-a66e-45d4-a01e-3f12bfa099a2", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/teams_3531422_repos-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/teams_3531422_repos-5.json deleted file mode 100644 index f0cbed28de..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/teams_3531422_repos-5.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "9893d54e-bc2f-4246-ba25-b9c157b22845", - "name": "teams_3531422_repos", - "request": { - "url": "/teams/3531422/repos", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "teams_3531422_repos-5.json", - "headers": { - "Date": "Wed, 20 Nov 2019 01:07:58 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4938", - "X-RateLimit-Reset": "1574215499", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"56e4bb5283d34fc86bf30247ae56cfbd\"", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, read:packages, repo, user, workflow, write:discussion, write:packages", - "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": "84E8:8C36:9EA654:B9060A:5DD491EE" - } - }, - "uuid": "9893d54e-bc2f-4246-ba25-b9c157b22845", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/user-1.json deleted file mode 100644 index a0f6246de6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/mappings/user-1.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "3a6b16d8-0d7e-4409-bb25-07ac6103a4fd", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Date": "Wed, 20 Nov 2019 01:07:56 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4945", - "X-RateLimit-Reset": "1574215499", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"3d6980508567a2e87daa452d20106bcd\"", - "Last-Modified": "Tue, 19 Nov 2019 18:23:21 GMT", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete:packages, delete_repo, gist, notifications, read:packages, repo, user, workflow, write:discussion, write:packages", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "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": "84E8:8C36:9EA55D:B904F1:5DD491EC" - } - }, - "uuid": "3a6b16d8-0d7e-4409-bb25-07ac6103a4fd", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/teams_3501817_repos-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/organizations_7544739_team_5756603_repos-4.json similarity index 93% rename from src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/teams_3501817_repos-5.json rename to src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/organizations_7544739_team_5756603_repos-4.json index dc0044d9d8..166c581c68 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/teams_3501817_repos-5.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/organizations_7544739_team_5756603_repos-4.json @@ -4,11 +4,12 @@ "node_id": "MDEwOlJlcG9zaXRvcnkyMDY4ODgyMDE=", "name": "github-api", "full_name": "hub4j-test-org/github-api", + "private": false, "owner": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -24,7 +25,6 @@ "type": "Organization", "site_admin": false }, - "private": false, "html_url": "https://github.com/hub4j-test-org/github-api", "description": "Tricky", "fork": true, @@ -66,14 +66,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-10-30T01:54:39Z", - "pushed_at": "2019-10-21T22:34:49Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-01-16T10:46:19Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -86,7 +86,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 0, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -94,14 +94,20 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 0, + "open_issues": 8, "watchers": 0, "default_branch": "main", "permissions": { - "pull": true, + "admin": false, + "maintain": false, "push": true, - "admin": false - } + "triage": true, + "pull": true + }, + "role_name": "write" } ] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org-1.json similarity index 83% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-3.json rename to src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org-1.json index 6a53d8b196..162ceb1c73 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-3.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org-1.json @@ -20,7 +20,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 19, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, @@ -28,8 +28,8 @@ "created_at": "2014-05-10T19:39:11Z", "updated_at": "2020-06-04T05:56:10Z", "type": "Organization", - "total_private_repos": 2, - "owned_private_repos": 2, + "total_private_repos": 3, + "owned_private_repos": 3, "private_gists": 0, "disk_usage": 11979, "collaborators": 0, @@ -37,14 +37,19 @@ "default_repository_permission": "none", "members_can_create_repositories": false, "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, "members_can_create_pages": true, + "members_can_fork_private_repositories": false, "members_can_create_public_pages": true, "members_can_create_private_pages": true, "plan": { "name": "free", "space": 976562499, "private_repos": 10000, - "filled_seats": 26, + "filled_seats": 35, "seats": 3 } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index 75b2dc2753..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 10, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-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": 7, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org_teams-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org_teams-3.json new file mode 100644 index 0000000000..20101130fc --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org_teams-3.json @@ -0,0 +1,49 @@ +{ + "name": "create-team-test", + "id": 5756603, + "node_id": "T_kwDOAHMfo84AV9a7", + "slug": "create-team-test", + "description": null, + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/5756603", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/create-team-test", + "members_url": "https://api.github.com/organizations/7544739/team/5756603/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/5756603/repos", + "permission": "push", + "parent": null, + "created_at": "2022-03-04T10:47:39Z", + "updated_at": "2022-03-04T10:47:39Z", + "members_count": 1, + "repos_count": 1, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org_teams-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org_teams-4.json deleted file mode 100644 index ddf73e0123..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/orgs_hub4j-test-org_teams-4.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "create-team-test", - "id": 3501817, - "node_id": "MDQ6VGVhbTM1MDE4MTc=", - "slug": "create-team-test", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/3501817", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/create-team-test", - "members_url": "https://api.github.com/teams/3501817/members{/member}", - "repositories_url": "https://api.github.com/teams/3501817/repos", - "permission": "push", - "created_at": "2019-11-01T16:29:09Z", - "updated_at": "2019-11-01T16:29:09Z", - "members_count": 0, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 10, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-2.json similarity index 90% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-3.json rename to src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-2.json index ca6e767b05..7d9f3ef83b 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/repos_hub4j-test-org_github-api-2.json @@ -8,7 +8,7 @@ "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -65,14 +65,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-09-30T22:36:47Z", - "pushed_at": "2019-10-05T12:46:15Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-01-16T10:46:19Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -85,7 +85,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 0, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -93,23 +93,33 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 0, + "open_issues": 8, "watchers": 0, "default_branch": "main", "permissions": { "admin": true, + "maintain": true, "push": true, + "triage": true, "pull": true }, + "temp_clone_token": "", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": false, + "allow_update_branch": false, "organization": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -135,7 +145,7 @@ "login": "hub4j", "id": 54909825, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j", "html_url": "https://github.com/hub4j", @@ -192,27 +202,27 @@ "releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments", "created_at": "2010-04-19T04:13:03Z", - "updated_at": "2019-10-05T05:28:18Z", - "pushed_at": "2019-10-05T05:28:12Z", + "updated_at": "2022-03-03T02:38:58Z", + "pushed_at": "2022-03-03T22:17:45Z", "git_url": "git://github.com/hub4j/github-api.git", "ssh_url": "git@github.com:hub4j/github-api.git", "clone_url": "https://github.com/hub4j/github-api.git", "svn_url": "https://github.com/hub4j/github-api", - "homepage": "http://github-api.kohsuke.org/", - "size": 12841, - "stargazers_count": 557, - "watchers_count": 557, + "homepage": "https://github-api.kohsuke.org/", + "size": 39198, + "stargazers_count": 868, + "watchers_count": 868, "language": "Java", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 429, + "forks_count": 596, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 82, + "open_issues_count": 98, "license": { "key": "mit", "name": "MIT License", @@ -220,9 +230,21 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, - "forks": 429, - "open_issues": 82, - "watchers": 557, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 596, + "open_issues": 98, + "watchers": 868, "default_branch": "main" }, "source": { @@ -235,7 +257,7 @@ "login": "hub4j", "id": 54909825, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j", "html_url": "https://github.com/hub4j", @@ -292,27 +314,27 @@ "releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments", "created_at": "2010-04-19T04:13:03Z", - "updated_at": "2019-10-05T05:28:18Z", - "pushed_at": "2019-10-05T05:28:12Z", + "updated_at": "2022-03-03T02:38:58Z", + "pushed_at": "2022-03-03T22:17:45Z", "git_url": "git://github.com/hub4j/github-api.git", "ssh_url": "git@github.com:hub4j/github-api.git", "clone_url": "https://github.com/hub4j/github-api.git", "svn_url": "https://github.com/hub4j/github-api", - "homepage": "http://github-api.kohsuke.org/", - "size": 12841, - "stargazers_count": 557, - "watchers_count": 557, + "homepage": "https://github-api.kohsuke.org/", + "size": 39198, + "stargazers_count": 868, + "watchers_count": 868, "language": "Java", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 429, + "forks_count": 596, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 82, + "open_issues_count": 98, "license": { "key": "mit", "name": "MIT License", @@ -320,11 +342,23 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, - "forks": 429, - "open_issues": 82, - "watchers": 557, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 596, + "open_issues": 98, + "watchers": 868, "default_branch": "main" }, - "network_count": 429, - "subscribers_count": 0 + "network_count": 596, + "subscribers_count": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/user-1.json deleted file mode 100644 index b79585f93d..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/__files/user-1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "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": 170, - "public_gists": 7, - "followers": 139, - "following": 9, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2019-09-24T19:32:29Z", - "private_gists": 7, - "total_private_repos": 9, - "owned_private_repos": 0, - "disk_usage": 33697, - "collaborators": 0, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/organizations_7544739_team_5756603_repos-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/organizations_7544739_team_5756603_repos-4.json new file mode 100644 index 0000000000..18bd998797 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/organizations_7544739_team_5756603_repos-4.json @@ -0,0 +1,46 @@ +{ + "id": "c7cdb2c2-baf6-4597-9ee0-bb860e5c5670", + "name": "organizations_7544739_team_5756603_repos", + "request": { + "url": "/organizations/7544739/team/5756603/repos", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_5756603_repos-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:47:40 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"c031f3cabc7f87f9d3b0f0a3ac94227ef2fbb7d02e3a604c06230a9bd7de89a3\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4953", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "47", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA32:4A80:44832B8:45A5780:6221EE4B" + } + }, + "uuid": "c7cdb2c2-baf6-4597-9ee0-bb860e5c5670", + "persistent": true, + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org-1.json similarity index 61% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-3.json rename to src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org-1.json index cbfb59166b..247d8e7079 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-3.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org-1.json @@ -1,5 +1,5 @@ { - "id": "a58e4a31-b37f-4b46-a4e2-79bf846f5d63", + "id": "ee9ff201-f29b-4205-a3ef-8515de9790f6", "name": "orgs_hub4j-test-org", "request": { "url": "/orgs/hub4j-test-org", @@ -12,25 +12,25 @@ }, "response": { "status": 200, - "bodyFileName": "orgs_hub4j-test-org-3.json", + "bodyFileName": "orgs_hub4j-test-org-1.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:22 GMT", + "Date": "Fri, 04 Mar 2022 10:47:38 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"e9f639cd8af8a2d7ebcaecf51127929bbd54efb425c02083f50c16b565bd5f60\"", + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4943", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "57", + "X-RateLimit-Remaining": "4956", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "44", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -38,10 +38,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D366:0480:1C5CC39:1DF0998:61410532" + "X-GitHub-Request-Id": "BA2C:89C5:102B030:10B859B:6221EE4A" } }, - "uuid": "a58e4a31-b37f-4b46-a4e2-79bf846f5d63", + "uuid": "ee9ff201-f29b-4205-a3ef-8515de9790f6", "persistent": true, - "insertionIndex": 3 + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index 0bdcf117fa..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "8c23f18e-d928-4e88-851d-fa36feecf615", - "name": "orgs_hub4j-test-org", - "request": { - "url": "/orgs/hub4j-test-org", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org-2.json", - "headers": { - "Date": "Fri, 01 Nov 2019 16:29:08 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4975", - "X-RateLimit-Reset": "1572629252", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"bbee0a14a82ca84871298052e1bcb545\"", - "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D319:5DFB:15D51C7:19DE151:5DBC5D53" - } - }, - "uuid": "8c23f18e-d928-4e88-851d-fa36feecf615", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org_teams-4.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org_teams-3.json similarity index 50% rename from src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org_teams-4.json rename to src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org_teams-3.json index 5f4dbe02e0..1547a3fcbd 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org_teams-4.json +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/orgs_hub4j-test-org_teams-3.json @@ -1,55 +1,54 @@ { - "id": "3459b05f-6e47-4c41-be60-83c125bf180b", + "id": "084c9748-cb5b-4a92-b5ac-6c1bf5a3d4b6", "name": "orgs_hub4j-test-org_teams", "request": { "url": "/orgs/hub4j-test-org/teams", "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, "bodyPatterns": [ { "equalToJson": "{\"name\":\"create-team-test\",\"repo_names\":[\"hub4j-test-org/github-api\"],\"permission\":\"push\"}", "ignoreArrayOrder": true, - "ignoreExtraElements": true + "ignoreExtraElements": false } - ], - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } + ] }, "response": { "status": 201, - "bodyFileName": "orgs_hub4j-test-org_teams-4.json", + "bodyFileName": "orgs_hub4j-test-org_teams-3.json", "headers": { - "Date": "Fri, 01 Nov 2019 16:29:09 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4973", - "X-RateLimit-Reset": "1572629252", + "Date": "Fri, 04 Mar 2022 10:47:39 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" + "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "\"107dcb6fe97e7e3aa92c5751075dec52\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "ETag": "\"15e982ef779b391dce73ea72e04bf6286835f0d7a5db81e5a3bc85275e08c73d\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, repo", - "Location": "https://api.github.com/teams/3501817", - "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": "*", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4954", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "46", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D319:5DFB:15D51FE:19DE222:5DBC5D55" + "X-GitHub-Request-Id": "BA30:B362:345C474:355A72B:6221EE4B", + "Location": "https://api.github.com/organizations/7544739/team/5756603" } }, - "uuid": "3459b05f-6e47-4c41-be60-83c125bf180b", + "uuid": "084c9748-cb5b-4a92-b5ac-6c1bf5a3d4b6", "persistent": true, - "insertionIndex": 4 + "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/repos_hub4j-test-org_github-api-2.json new file mode 100644 index 0000000000..67fd1e7a6b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/repos_hub4j-test-org_github-api-2.json @@ -0,0 +1,47 @@ +{ + "id": "4646e08a-235f-432f-b0b4-59fcacd007c9", + "name": "repos_hub4j-test-org_github-api", + "request": { + "url": "/repos/hub4j-test-org/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:47:39 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1c2c68b5cb572680f51498796d0b11bee390107942cb9d9c88b25679760a86c7\"", + "Last-Modified": "Tue, 09 Nov 2021 20:13:29 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4955", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "45", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA2E:4A7E:1C7962F:1D546DD:6221EE4A" + } + }, + "uuid": "4646e08a-235f-432f-b0b4-59fcacd007c9", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/repos_hub4j-test-org_github-api-3.json deleted file mode 100644 index 74ab1c177f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/repos_hub4j-test-org_github-api-3.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "25876edf-6351-4b59-9e1d-82886a02f721", - "name": "repos_hub4j-test-org_github-api", - "request": { - "url": "/repos/hub4j-test-org/github-api", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api-3.json", - "headers": { - "Date": "Fri, 01 Nov 2019 16:29:09 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4974", - "X-RateLimit-Reset": "1572629252", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"cf0b2ec3da3061f2b2fcb4a57302a097\"", - "Last-Modified": "Wed, 30 Oct 2019 01:54:39 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D319:5DFB:15D51E2:19DE203:5DBC5D54" - } - }, - "uuid": "25876edf-6351-4b59-9e1d-82886a02f721", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/teams_3501817_repos-5.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/teams_3501817_repos-5.json deleted file mode 100644 index 3632c1ebcc..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/teams_3501817_repos-5.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "97bad23b-9d25-4db2-8420-afbc40b450ac", - "name": "teams_3501817_repos", - "request": { - "url": "/teams/3501817/repos", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "teams_3501817_repos-5.json", - "headers": { - "Date": "Fri, 01 Nov 2019 16:29:09 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4972", - "X-RateLimit-Reset": "1572629252", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"99c69bfffe7e8b07f2a131b6a51ab377\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "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": "D319:5DFB:15D5245:19DE265:5DBC5D55" - } - }, - "uuid": "97bad23b-9d25-4db2-8420-afbc40b450ac", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/user-1.json deleted file mode 100644 index 2a7d19d807..0000000000 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeamWithRepoAccess/mappings/user-1.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "8620f09e-7f34-4e00-860b-335d22d56f92", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Date": "Fri, 01 Nov 2019 16:29:07 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4979", - "X-RateLimit-Reset": "1572629252", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"314a780ab48b55be9920f26d1eda7d83\"", - "Last-Modified": "Tue, 24 Sep 2019 19:32:29 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "Access-Control-Allow-Origin": "*", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D319:5DFB:15D513B:19DE13D:5DBC5D53" - } - }, - "uuid": "8620f09e-7f34-4e00-860b-335d22d56f92", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/organizations_7544739_team_3451996-7.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org_teams_dummy-team-3.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/organizations_7544739_team_3451996-7.json index e9db7ba861..ce21071d54 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org_teams_dummy-team-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/organizations_7544739_team_3451996-7.json @@ -11,7 +11,7 @@ "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", "permission": "pull", "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-06-02T19:31:50Z", + "updated_at": "2022-03-04T10:36:59Z", "members_count": 1, "repos_count": 1, "organization": { @@ -36,7 +36,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 19, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org-1.json similarity index 73% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org-2.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org-1.json index b115ab2ee6..162ceb1c73 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org-2.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org-1.json @@ -9,7 +9,7 @@ "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "description": "Hub4j Test Org Description (this could be null or blank too)", "name": "Hub4j Test Org Name (this could be null or blank too)", "company": null, @@ -20,7 +20,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 12, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, @@ -28,20 +28,28 @@ "created_at": "2014-05-10T19:39:11Z", "updated_at": "2020-06-04T05:56:10Z", "type": "Organization", - "total_private_repos": 0, - "owned_private_repos": 0, + "total_private_repos": 3, + "owned_private_repos": 3, "private_gists": 0, - "disk_usage": 148, + "disk_usage": 11979, "collaborators": 0, "billing_email": "kk@kohsuke.org", "default_repository_permission": "none", "members_can_create_repositories": false, "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, "plan": { "name": "free", "space": 976562499, "private_repos": 10000, - "filled_seats": 18, + "filled_seats": 35, "seats": 3 } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index 194231d6fc..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 10, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-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": 5, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org_teams-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org_teams-5.json deleted file mode 100644 index f5da6d0529..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org_teams-5.json +++ /dev/null @@ -1,54 +0,0 @@ -[ - { - "name": "Owners", - "id": 820404, - "node_id": "MDQ6VGVhbTgyMDQwNA==", - "slug": "owners", - "description": null, - "privacy": "secret", - "url": "https://api.github.com/teams/820404", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/owners", - "members_url": "https://api.github.com/teams/820404/members{/member}", - "repositories_url": "https://api.github.com/teams/820404/repos", - "permission": "admin" - }, - { - "name": "Core Developers", - "id": 820406, - "node_id": "MDQ6VGVhbTgyMDQwNg==", - "slug": "core-developers", - "description": "A random team", - "privacy": "secret", - "url": "https://api.github.com/teams/820406", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/core-developers", - "members_url": "https://api.github.com/teams/820406/members{/member}", - "repositories_url": "https://api.github.com/teams/820406/repos", - "permission": "pull" - }, - { - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "closed", - "url": "https://api.github.com/teams/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/teams/3451996/members{/member}", - "repositories_url": "https://api.github.com/teams/3451996/repos", - "permission": "pull" - }, - { - "name": "tricky-team", - "id": 3454508, - "node_id": "MDQ6VGVhbTM0NTQ1MDg=", - "slug": "tricky-team", - "description": "", - "privacy": "secret", - "url": "https://api.github.com/teams/3454508", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/tricky-team", - "members_url": "https://api.github.com/teams/3454508/members{/member}", - "repositories_url": "https://api.github.com/teams/3454508/repos", - "permission": "pull" - } -] \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org_teams_dummy-team-4.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-4.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org_teams_dummy-team-4.json index e9db7ba861..ce21071d54 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org_teams_dummy-team-4.json @@ -11,7 +11,7 @@ "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", "permission": "pull", "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-06-02T19:31:50Z", + "updated_at": "2022-03-04T10:36:59Z", "members_count": 1, "repos_count": 1, "organization": { @@ -36,7 +36,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 19, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org_teams_dummy-team-9.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org_teams_dummy-team-9.json deleted file mode 100644 index 654517d694..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/orgs_hub4j-test-org_teams_dummy-team-9.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:12:26Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - }, - "parent": null -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-2.json similarity index 89% rename from src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-3.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-2.json index 38d9ed25f6..40510d1564 100644 --- a/src/test/resources/org/kohsuke/github/GHOrganizationTest/wiremock/testCreateTeam/__files/repos_hub4j-test-org_github-api-3.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api-2.json @@ -8,7 +8,7 @@ "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -25,7 +25,7 @@ "site_admin": false }, "html_url": "https://github.com/hub4j-test-org/github-api", - "description": "Resetting", + "description": "Tricky", "fork": true, "url": "https://api.github.com/repos/hub4j-test-org/github-api", "forks_url": "https://api.github.com/repos/hub4j-test-org/github-api/forks", @@ -65,14 +65,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-11-07T22:27:11Z", - "pushed_at": "2019-10-21T22:34:49Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-03-04T10:49:36Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -85,7 +85,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 0, + "open_issues_count": 7, "license": { "key": "mit", "name": "MIT License", @@ -93,23 +93,33 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 0, + "open_issues": 7, "watchers": 0, "default_branch": "main", "permissions": { "admin": true, + "maintain": true, "push": true, + "triage": true, "pull": true }, + "temp_clone_token": "", "allow_squash_merge": true, "allow_merge_commit": true, "allow_rebase_merge": true, + "allow_auto_merge": false, + "delete_branch_on_merge": false, + "allow_update_branch": false, "organization": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -135,7 +145,7 @@ "login": "hub4j", "id": 54909825, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j", "html_url": "https://github.com/hub4j", @@ -192,27 +202,27 @@ "releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments", "created_at": "2010-04-19T04:13:03Z", - "updated_at": "2019-11-19T06:48:53Z", - "pushed_at": "2019-11-19T04:03:23Z", + "updated_at": "2022-03-03T02:38:58Z", + "pushed_at": "2022-03-03T22:17:45Z", "git_url": "git://github.com/hub4j/github-api.git", "ssh_url": "git@github.com:hub4j/github-api.git", "clone_url": "https://github.com/hub4j/github-api.git", "svn_url": "https://github.com/hub4j/github-api", - "homepage": "http://github-api.kohsuke.org/", - "size": 15749, - "stargazers_count": 580, - "watchers_count": 580, + "homepage": "https://github-api.kohsuke.org/", + "size": 39198, + "stargazers_count": 868, + "watchers_count": 868, "language": "Java", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 443, + "forks_count": 596, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 52, + "open_issues_count": 98, "license": { "key": "mit", "name": "MIT License", @@ -220,9 +230,21 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, - "forks": 443, - "open_issues": 52, - "watchers": 580, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 596, + "open_issues": 98, + "watchers": 868, "default_branch": "main" }, "source": { @@ -235,7 +257,7 @@ "login": "hub4j", "id": 54909825, "node_id": "MDEyOk9yZ2FuaXphdGlvbjU0OTA5ODI1", - "avatar_url": "https://avatars3.githubusercontent.com/u/54909825?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/54909825?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j", "html_url": "https://github.com/hub4j", @@ -292,27 +314,27 @@ "releases_url": "https://api.github.com/repos/hub4j/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j/github-api/deployments", "created_at": "2010-04-19T04:13:03Z", - "updated_at": "2019-11-19T06:48:53Z", - "pushed_at": "2019-11-19T04:03:23Z", + "updated_at": "2022-03-03T02:38:58Z", + "pushed_at": "2022-03-03T22:17:45Z", "git_url": "git://github.com/hub4j/github-api.git", "ssh_url": "git@github.com:hub4j/github-api.git", "clone_url": "https://github.com/hub4j/github-api.git", "svn_url": "https://github.com/hub4j/github-api", - "homepage": "http://github-api.kohsuke.org/", - "size": 15749, - "stargazers_count": 580, - "watchers_count": 580, + "homepage": "https://github-api.kohsuke.org/", + "size": 39198, + "stargazers_count": 868, + "watchers_count": 868, "language": "Java", "has_issues": true, "has_projects": true, "has_downloads": true, "has_wiki": true, "has_pages": true, - "forks_count": 443, + "forks_count": 596, "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 52, + "open_issues_count": 98, "license": { "key": "mit", "name": "MIT License", @@ -320,11 +342,23 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, - "forks": 443, - "open_issues": 52, - "watchers": 580, + "allow_forking": true, + "is_template": false, + "topics": [ + "api", + "client-library", + "github", + "github-api", + "github-api-v3", + "java", + "java-api" + ], + "visibility": "public", + "forks": 596, + "open_issues": 98, + "watchers": 868, "default_branch": "main" }, - "network_count": 443, - "subscribers_count": 0 + "network_count": 596, + "subscribers_count": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-3.json similarity index 86% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-3.json index a42cfb07e4..34965f550b 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls-3.json @@ -1,38 +1,38 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304", - "id": 324938629, - "node_id": "MDExOlB1bGxSZXF1ZXN0MzI0OTM4NjI5", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/304", - "diff_url": "https://github.com/hub4j-test-org/github-api/pull/304.diff", - "patch_url": "https://github.com/hub4j-test-org/github-api/pull/304.patch", - "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304", - "number": 304, + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449", + "id": 871554446, + "node_id": "PR_kwDODFTdCc4z8t2O", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/449", + "diff_url": "https://github.com/hub4j-test-org/github-api/pull/449.diff", + "patch_url": "https://github.com/hub4j-test-org/github-api/pull/449.patch", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449", + "number": 449, "state": "open", "locked": false, "title": "testPullRequestTeamReviewRequests", "user": { - "login": "farmdawgnation", - "id": 620189, - "node_id": "MDQ6VXNlcjYyMDE4OQ==", - "avatar_url": "https://avatars2.githubusercontent.com/u/620189?v=4", + "login": "gsmet", + "id": 1279749, + "node_id": "MDQ6VXNlcjEyNzk3NDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4", "gravatar_id": "", - "url": "https://api.github.com/users/farmdawgnation", - "html_url": "https://github.com/farmdawgnation", - "followers_url": "https://api.github.com/users/farmdawgnation/followers", - "following_url": "https://api.github.com/users/farmdawgnation/following{/other_user}", - "gists_url": "https://api.github.com/users/farmdawgnation/gists{/gist_id}", - "starred_url": "https://api.github.com/users/farmdawgnation/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/farmdawgnation/subscriptions", - "organizations_url": "https://api.github.com/users/farmdawgnation/orgs", - "repos_url": "https://api.github.com/users/farmdawgnation/repos", - "events_url": "https://api.github.com/users/farmdawgnation/events{/privacy}", - "received_events_url": "https://api.github.com/users/farmdawgnation/received_events", + "url": "https://api.github.com/users/gsmet", + "html_url": "https://github.com/gsmet", + "followers_url": "https://api.github.com/users/gsmet/followers", + "following_url": "https://api.github.com/users/gsmet/following{/other_user}", + "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions", + "organizations_url": "https://api.github.com/users/gsmet/orgs", + "repos_url": "https://api.github.com/users/gsmet/repos", + "events_url": "https://api.github.com/users/gsmet/events{/privacy}", + "received_events_url": "https://api.github.com/users/gsmet/received_events", "type": "User", "site_admin": false }, "body": "## test", - "created_at": "2019-10-05T13:12:37Z", - "updated_at": "2019-10-05T13:12:37Z", + "created_at": "2022-03-04T11:02:08Z", + "updated_at": "2022-03-04T11:02:08Z", "closed_at": null, "merged_at": null, "merge_commit_sha": null, @@ -42,20 +42,21 @@ "requested_teams": [], "labels": [], "milestone": null, - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/commits", - "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/comments", + "draft": false, + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/commits", + "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/comments", "review_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304/comments", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449/comments", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7", "head": { "label": "hub4j-test-org:test/stable", "ref": "test/stable", - "sha": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", + "sha": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", "user": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -81,7 +82,7 @@ "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -138,14 +139,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-09-30T22:36:47Z", - "pushed_at": "2019-10-05T12:46:15Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-03-04T10:49:36Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -158,7 +159,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -166,8 +167,12 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 1, + "open_issues": 8, "watchers": 0, "default_branch": "main" } @@ -175,12 +180,12 @@ "base": { "label": "hub4j-test-org:main", "ref": "main", - "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", + "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -206,7 +211,7 @@ "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -263,14 +268,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-09-30T22:36:47Z", - "pushed_at": "2019-10-05T12:46:15Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-03-04T10:49:36Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -283,7 +288,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -291,39 +296,45 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 1, + "open_issues": 8, "watchers": 0, "default_branch": "main" } }, "_links": { "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449" }, "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/304" + "href": "https://github.com/hub4j-test-org/github-api/pull/449" }, "issue": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449" }, "comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304/comments" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449/comments" }, "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/comments" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/comments" }, "review_comment": { "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments{/number}" }, "commits": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/commits" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/commits" }, "statuses": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7" } }, "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null, "merged": false, "mergeable": null, "rebaseable": null, @@ -332,8 +343,8 @@ "comments": 0, "review_comments": 0, "maintainer_can_modify": false, - "commits": 2, - "additions": 2, - "deletions": 1, - "changed_files": 1 + "commits": 3, + "additions": 3, + "deletions": 2, + "changed_files": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_449-6.json similarity index 83% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_449-6.json index 106d2733e4..b5b61f750d 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_449-6.json @@ -1,41 +1,41 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304", - "id": 324938629, - "node_id": "MDExOlB1bGxSZXF1ZXN0MzI0OTM4NjI5", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/304", - "diff_url": "https://github.com/hub4j-test-org/github-api/pull/304.diff", - "patch_url": "https://github.com/hub4j-test-org/github-api/pull/304.patch", - "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304", - "number": 304, + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449", + "id": 871554446, + "node_id": "PR_kwDODFTdCc4z8t2O", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/449", + "diff_url": "https://github.com/hub4j-test-org/github-api/pull/449.diff", + "patch_url": "https://github.com/hub4j-test-org/github-api/pull/449.patch", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449", + "number": 449, "state": "open", "locked": false, "title": "testPullRequestTeamReviewRequests", "user": { - "login": "farmdawgnation", - "id": 620189, - "node_id": "MDQ6VXNlcjYyMDE4OQ==", - "avatar_url": "https://avatars2.githubusercontent.com/u/620189?v=4", + "login": "gsmet", + "id": 1279749, + "node_id": "MDQ6VXNlcjEyNzk3NDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4", "gravatar_id": "", - "url": "https://api.github.com/users/farmdawgnation", - "html_url": "https://github.com/farmdawgnation", - "followers_url": "https://api.github.com/users/farmdawgnation/followers", - "following_url": "https://api.github.com/users/farmdawgnation/following{/other_user}", - "gists_url": "https://api.github.com/users/farmdawgnation/gists{/gist_id}", - "starred_url": "https://api.github.com/users/farmdawgnation/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/farmdawgnation/subscriptions", - "organizations_url": "https://api.github.com/users/farmdawgnation/orgs", - "repos_url": "https://api.github.com/users/farmdawgnation/repos", - "events_url": "https://api.github.com/users/farmdawgnation/events{/privacy}", - "received_events_url": "https://api.github.com/users/farmdawgnation/received_events", + "url": "https://api.github.com/users/gsmet", + "html_url": "https://github.com/gsmet", + "followers_url": "https://api.github.com/users/gsmet/followers", + "following_url": "https://api.github.com/users/gsmet/following{/other_user}", + "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions", + "organizations_url": "https://api.github.com/users/gsmet/orgs", + "repos_url": "https://api.github.com/users/gsmet/repos", + "events_url": "https://api.github.com/users/gsmet/events{/privacy}", + "received_events_url": "https://api.github.com/users/gsmet/received_events", "type": "User", "site_admin": false }, "body": "## test", - "created_at": "2019-10-05T13:12:37Z", - "updated_at": "2019-10-05T13:12:37Z", + "created_at": "2022-03-04T11:02:08Z", + "updated_at": "2022-03-04T11:02:09Z", "closed_at": null, "merged_at": null, - "merge_commit_sha": null, + "merge_commit_sha": "a1614ffa12b6a71010a7d9123549c55fde1e709b", "assignee": null, "assignees": [], "requested_reviewers": [], @@ -47,29 +47,31 @@ "slug": "dummy-team", "description": "Updated by API TestModified", "privacy": "closed", - "url": "https://api.github.com/teams/3451996", + "url": "https://api.github.com/organizations/7544739/team/3451996", "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/teams/3451996/members{/member}", - "repositories_url": "https://api.github.com/teams/3451996/repos", - "permission": "pull" + "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", + "permission": "pull", + "parent": null } ], "labels": [], "milestone": null, - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/commits", - "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/comments", + "draft": false, + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/commits", + "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/comments", "review_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304/comments", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449/comments", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7", "head": { "label": "hub4j-test-org:test/stable", "ref": "test/stable", - "sha": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", + "sha": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", "user": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -95,7 +97,7 @@ "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -152,14 +154,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-09-30T22:36:47Z", - "pushed_at": "2019-10-05T13:12:37Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-03-04T11:02:08Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -172,7 +174,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -180,8 +182,12 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 1, + "open_issues": 8, "watchers": 0, "default_branch": "main" } @@ -189,12 +195,12 @@ "base": { "label": "hub4j-test-org:main", "ref": "main", - "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", + "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -220,7 +226,7 @@ "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -277,14 +283,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-09-30T22:36:47Z", - "pushed_at": "2019-10-05T13:12:37Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-03-04T11:02:08Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -297,7 +303,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -305,37 +311,55 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 1, + "open_issues": 8, "watchers": 0, "default_branch": "main" } }, "_links": { "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449" }, "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/304" + "href": "https://github.com/hub4j-test-org/github-api/pull/449" }, "issue": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449" }, "comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304/comments" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449/comments" }, "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/comments" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/comments" }, "review_comment": { "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments{/number}" }, "commits": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/commits" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/commits" }, "statuses": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7" } }, - "author_association": "MEMBER" + "author_association": "MEMBER", + "auto_merge": null, + "active_lock_reason": null, + "merged": false, + "mergeable": true, + "rebaseable": true, + "mergeable_state": "clean", + "merged_by": null, + "comments": 0, + "review_comments": 0, + "maintainer_can_modify": false, + "commits": 3, + "additions": 3, + "deletions": 2, + "changed_files": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_449_requested_reviewers-5.json similarity index 85% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304-7.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_449_requested_reviewers-5.json index bec66e2cba..5a51742f0d 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_304-7.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/repos_hub4j-test-org_github-api_pulls_449_requested_reviewers-5.json @@ -1,41 +1,41 @@ { - "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304", - "id": 324938629, - "node_id": "MDExOlB1bGxSZXF1ZXN0MzI0OTM4NjI5", - "html_url": "https://github.com/hub4j-test-org/github-api/pull/304", - "diff_url": "https://github.com/hub4j-test-org/github-api/pull/304.diff", - "patch_url": "https://github.com/hub4j-test-org/github-api/pull/304.patch", - "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304", - "number": 304, + "url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449", + "id": 871554446, + "node_id": "PR_kwDODFTdCc4z8t2O", + "html_url": "https://github.com/hub4j-test-org/github-api/pull/449", + "diff_url": "https://github.com/hub4j-test-org/github-api/pull/449.diff", + "patch_url": "https://github.com/hub4j-test-org/github-api/pull/449.patch", + "issue_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449", + "number": 449, "state": "open", "locked": false, "title": "testPullRequestTeamReviewRequests", "user": { - "login": "farmdawgnation", - "id": 620189, - "node_id": "MDQ6VXNlcjYyMDE4OQ==", - "avatar_url": "https://avatars2.githubusercontent.com/u/620189?v=4", + "login": "gsmet", + "id": 1279749, + "node_id": "MDQ6VXNlcjEyNzk3NDk=", + "avatar_url": "https://avatars.githubusercontent.com/u/1279749?v=4", "gravatar_id": "", - "url": "https://api.github.com/users/farmdawgnation", - "html_url": "https://github.com/farmdawgnation", - "followers_url": "https://api.github.com/users/farmdawgnation/followers", - "following_url": "https://api.github.com/users/farmdawgnation/following{/other_user}", - "gists_url": "https://api.github.com/users/farmdawgnation/gists{/gist_id}", - "starred_url": "https://api.github.com/users/farmdawgnation/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/farmdawgnation/subscriptions", - "organizations_url": "https://api.github.com/users/farmdawgnation/orgs", - "repos_url": "https://api.github.com/users/farmdawgnation/repos", - "events_url": "https://api.github.com/users/farmdawgnation/events{/privacy}", - "received_events_url": "https://api.github.com/users/farmdawgnation/received_events", + "url": "https://api.github.com/users/gsmet", + "html_url": "https://github.com/gsmet", + "followers_url": "https://api.github.com/users/gsmet/followers", + "following_url": "https://api.github.com/users/gsmet/following{/other_user}", + "gists_url": "https://api.github.com/users/gsmet/gists{/gist_id}", + "starred_url": "https://api.github.com/users/gsmet/starred{/owner}{/repo}", + "subscriptions_url": "https://api.github.com/users/gsmet/subscriptions", + "organizations_url": "https://api.github.com/users/gsmet/orgs", + "repos_url": "https://api.github.com/users/gsmet/repos", + "events_url": "https://api.github.com/users/gsmet/events{/privacy}", + "received_events_url": "https://api.github.com/users/gsmet/received_events", "type": "User", "site_admin": false }, "body": "## test", - "created_at": "2019-10-05T13:12:37Z", - "updated_at": "2019-10-05T13:12:37Z", + "created_at": "2022-03-04T11:02:08Z", + "updated_at": "2022-03-04T11:02:09Z", "closed_at": null, "merged_at": null, - "merge_commit_sha": null, + "merge_commit_sha": "a1614ffa12b6a71010a7d9123549c55fde1e709b", "assignee": null, "assignees": [], "requested_reviewers": [], @@ -47,29 +47,31 @@ "slug": "dummy-team", "description": "Updated by API TestModified", "privacy": "closed", - "url": "https://api.github.com/teams/3451996", + "url": "https://api.github.com/organizations/7544739/team/3451996", "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/teams/3451996/members{/member}", - "repositories_url": "https://api.github.com/teams/3451996/repos", - "permission": "pull" + "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", + "permission": "pull", + "parent": null } ], "labels": [], "milestone": null, - "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/commits", - "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/comments", + "draft": false, + "commits_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/commits", + "review_comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/comments", "review_comment_url": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments{/number}", - "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304/comments", - "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", + "comments_url": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449/comments", + "statuses_url": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7", "head": { "label": "hub4j-test-org:test/stable", "ref": "test/stable", - "sha": "1f40fdf4acf1adb246c109c21a22f617e4bd1ca8", + "sha": "07374fe73aff1c2024a8d4114b32406c7a8e89b7", "user": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -95,7 +97,7 @@ "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -152,14 +154,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-09-30T22:36:47Z", - "pushed_at": "2019-10-05T13:12:37Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-03-04T11:02:08Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -172,7 +174,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -180,8 +182,12 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 1, + "open_issues": 8, "watchers": 0, "default_branch": "main" } @@ -189,12 +195,12 @@ "base": { "label": "hub4j-test-org:main", "ref": "main", - "sha": "3a09d2de4a9a1322a0ba2c3e2f54a919ca8fe353", + "sha": "8051615eff597f4e49f4f47625e6fc2b49f26bfc", "user": { "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -220,7 +226,7 @@ "login": "hub4j-test-org", "id": 7544739, "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "gravatar_id": "", "url": "https://api.github.com/users/hub4j-test-org", "html_url": "https://github.com/hub4j-test-org", @@ -277,14 +283,14 @@ "releases_url": "https://api.github.com/repos/hub4j-test-org/github-api/releases{/id}", "deployments_url": "https://api.github.com/repos/hub4j-test-org/github-api/deployments", "created_at": "2019-09-06T23:26:04Z", - "updated_at": "2019-09-30T22:36:47Z", - "pushed_at": "2019-10-05T13:12:37Z", + "updated_at": "2021-11-09T20:13:29Z", + "pushed_at": "2022-03-04T11:02:08Z", "git_url": "git://github.com/hub4j-test-org/github-api.git", "ssh_url": "git@github.com:hub4j-test-org/github-api.git", "clone_url": "https://github.com/hub4j-test-org/github-api.git", "svn_url": "https://github.com/hub4j-test-org/github-api", "homepage": "http://github-api.kohsuke.org/", - "size": 11391, + "size": 19045, "stargazers_count": 0, "watchers_count": 0, "language": "Java", @@ -297,7 +303,7 @@ "mirror_url": null, "archived": false, "disabled": false, - "open_issues_count": 1, + "open_issues_count": 8, "license": { "key": "mit", "name": "MIT License", @@ -305,49 +311,43 @@ "url": "https://api.github.com/licenses/mit", "node_id": "MDc6TGljZW5zZTEz" }, + "allow_forking": true, + "is_template": false, + "topics": [], + "visibility": "public", "forks": 0, - "open_issues": 1, + "open_issues": 8, "watchers": 0, "default_branch": "main" } }, "_links": { "self": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449" }, "html": { - "href": "https://github.com/hub4j-test-org/github-api/pull/304" + "href": "https://github.com/hub4j-test-org/github-api/pull/449" }, "issue": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449" }, "comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/304/comments" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/issues/449/comments" }, "review_comments": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/comments" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/comments" }, "review_comment": { "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/comments{/number}" }, "commits": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304/commits" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449/commits" }, "statuses": { - "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/1f40fdf4acf1adb246c109c21a22f617e4bd1ca8" + "href": "https://api.github.com/repos/hub4j-test-org/github-api/statuses/07374fe73aff1c2024a8d4114b32406c7a8e89b7" } }, "author_association": "MEMBER", - "merged": false, - "mergeable": null, - "rebaseable": null, - "mergeable_state": "unknown", - "merged_by": null, - "comments": 0, - "review_comments": 0, - "maintainer_can_modify": false, - "commits": 2, - "additions": 2, - "deletions": 1, - "changed_files": 1 + "auto_merge": null, + "active_lock_reason": null } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/teams_3451996-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/teams_3451996-8.json deleted file mode 100644 index 796b3f8219..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/teams_3451996-8.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "closed", - "url": "https://api.github.com/teams/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/teams/3451996/members{/member}", - "repositories_url": "https://api.github.com/teams/3451996/repos", - "permission": "pull", - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2019-10-03T21:51:11Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 10, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/user-1.json deleted file mode 100644 index 61b439b35c..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/__files/user-1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "login": "farmdawgnation", - "id": 620189, - "node_id": "MDQ6VXNlcjYyMDE4OQ==", - "avatar_url": "https://avatars2.githubusercontent.com/u/620189?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/farmdawgnation", - "html_url": "https://github.com/farmdawgnation", - "followers_url": "https://api.github.com/users/farmdawgnation/followers", - "following_url": "https://api.github.com/users/farmdawgnation/following{/other_user}", - "gists_url": "https://api.github.com/users/farmdawgnation/gists{/gist_id}", - "starred_url": "https://api.github.com/users/farmdawgnation/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/farmdawgnation/subscriptions", - "organizations_url": "https://api.github.com/users/farmdawgnation/orgs", - "repos_url": "https://api.github.com/users/farmdawgnation/repos", - "events_url": "https://api.github.com/users/farmdawgnation/events{/privacy}", - "received_events_url": "https://api.github.com/users/farmdawgnation/received_events", - "type": "User", - "site_admin": false, - "name": "Matt Farmer", - "company": "@Mailchimp", - "blog": "https://farmdawgnation.com", - "location": "Atlanta, GA", - "email": "matt@frmr.me", - "hireable": null, - "bio": "A Scala and Clojure lover. Maintainer at @lift and @dispatch.", - "public_repos": 111, - "public_gists": 28, - "followers": 58, - "following": 36, - "created_at": "2011-02-15T23:42:51Z", - "updated_at": "2019-09-21T13:46:39Z", - "private_gists": 15, - "total_private_repos": 17, - "owned_private_repos": 17, - "disk_usage": 48311, - "collaborators": 3, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/organizations_7544739_team_3451996-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/organizations_7544739_team_3451996-7.json new file mode 100644 index 0000000000..85950a11f1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/organizations_7544739_team_3451996-7.json @@ -0,0 +1,47 @@ +{ + "id": "ed8a7889-ec42-4caa-97be-d72005823ce8", + "name": "organizations_7544739_team_3451996", + "request": { + "url": "/organizations/7544739/team/3451996", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_3451996-7.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 11:02:10 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1fbce0cbfea113fefff1877b37929ef1d7cb9c8989a5b223df3e9ea092502191\"", + "Last-Modified": "Fri, 04 Mar 2022 10:36:59 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4910", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "90", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA60:361D:2D06CF8:2E04A13:6221F1B2" + } + }, + "uuid": "ed8a7889-ec42-4caa-97be-d72005823ce8", + "persistent": true, + "insertionIndex": 7 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..412abf5f88 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "4b731fa0-52ae-4dd0-9cd5-54a9db8ad3c0", + "name": "orgs_hub4j-test-org", + "request": { + "url": "/orgs/hub4j-test-org", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 11:02:07 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4916", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "84", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA54:9B21:465EFF4:477D767:6221F1AF" + } + }, + "uuid": "4b731fa0-52ae-4dd0-9cd5-54a9db8ad3c0", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index 910e4ed3e4..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "8634de25-3d3d-47a6-a72a-de26a5190ce6", - "name": "orgs_hub4j-test-org", - "request": { - "url": "/orgs/hub4j-test-org", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org-2.json", - "headers": { - "Date": "Sat, 05 Oct 2019 13:12:36 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": "1570284751", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"298cbc515b117c1f190a8250bf171341\"", - "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, read:packages, repo, user, write:discussion, write:packages", - "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": "F8F3:099A:F1278:1CD4EC:5D9896C4" - } - }, - "uuid": "8634de25-3d3d-47a6-a72a-de26a5190ce6", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams-5.json deleted file mode 100644 index 1003fa15b3..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams-5.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "id": "b84882f2-4778-47cb-bced-70eced02e28b", - "name": "orgs_hub4j-test-org_teams", - "request": { - "url": "/orgs/hub4j-test-org/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams-5.json", - "headers": { - "Server": "GitHub.com", - "Date": "Sat, 05 Oct 2019 13:12:37 GMT", - "Content-Type": "application/json; charset=utf-8", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4421", - "X-RateLimit-Reset": "1570284751", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": "Accept, Authorization, Cookie, X-GitHub-OTP", - "ETag": "W/\"b508d7b438387a94dc1a4338e19f77ec\"", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, read:packages, repo, user, write:discussion, write:packages", - "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": "F8F3:099A:F127C:1CD4FA:5D9896C5" - } - }, - "uuid": "b84882f2-4778-47cb-bced-70eced02e28b", - "persistent": true, - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json similarity index 63% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json rename to src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json index fcb2a1511b..9251a02859 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json @@ -1,5 +1,5 @@ { - "id": "6145f9a3-719f-4837-822f-282f2be33c33", + "id": "d0951789-762e-4805-ace0-f445caa27ac4", "name": "orgs_hub4j-test-org_teams_dummy-team", "request": { "url": "/orgs/hub4j-test-org/teams/dummy-team", @@ -15,22 +15,22 @@ "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-4.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:23 GMT", + "Date": "Fri, 04 Mar 2022 11:02:09 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"f0e418884b0c8c4babcb289570d61a4fc86d2bb61a1be10052f1c85533ead538\"", - "Last-Modified": "Tue, 02 Jun 2020 19:31:50 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "ETag": "W/\"1fbce0cbfea113fefff1877b37929ef1d7cb9c8989a5b223df3e9ea092502191\"", + "Last-Modified": "Fri, 04 Mar 2022 10:36:59 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4942", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "58", + "X-RateLimit-Remaining": "4913", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "87", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -38,10 +38,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D368:5F33:DD8487:F29CB8:61410533" + "X-GitHub-Request-Id": "BA5A:4A7C:8FA786:9ABCFF:6221F1B0" } }, - "uuid": "6145f9a3-719f-4837-822f-282f2be33c33", + "uuid": "d0951789-762e-4805-ace0-f445caa27ac4", "persistent": true, "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api-2.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api-2.json new file mode 100644 index 0000000000..f45ffd89ca --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api-2.json @@ -0,0 +1,47 @@ +{ + "id": "53351b06-fa9c-469a-a230-477aff56eca3", + "name": "repos_hub4j-test-org_github-api", + "request": { + "url": "/repos/hub4j-test-org/github-api", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 11:02:07 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1c2c68b5cb572680f51498796d0b11bee390107942cb9d9c88b25679760a86c7\"", + "Last-Modified": "Tue, 09 Nov 2021 20:13:29 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4915", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "85", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA56:4928:7C8E9B:8121A1:6221F1AF" + } + }, + "uuid": "53351b06-fa9c-469a-a230-477aff56eca3", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api-3.json deleted file mode 100644 index 0e380872c6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api-3.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "92a8e470-1b50-4f84-a580-94b8cc1aa3b0", - "name": "repos_hub4j-test-org_github-api", - "request": { - "url": "/repos/hub4j-test-org/github-api", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api-3.json", - "headers": { - "Date": "Sat, 05 Oct 2019 13:12:36 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": "1570284751", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"22bbded0f5f2623c8bdafd68f3eb625d\"", - "Last-Modified": "Mon, 30 Sep 2019 22:36:47 GMT", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, read:packages, repo, user, write:discussion, write:packages", - "X-Accepted-OAuth-Scopes": "repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "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": "F8F3:099A:F1279:1CD4F8:5D9896C4" - } - }, - "uuid": "92a8e470-1b50-4f84-a580-94b8cc1aa3b0", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-3.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-3.json new file mode 100644 index 0000000000..4db52e89a0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-3.json @@ -0,0 +1,54 @@ +{ + "id": "0f635279-7df3-46b0-a658-ea83b189195a", + "name": "repos_hub4j-test-org_github-api_pulls", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.shadow-cat-preview+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"head\":\"test/stable\",\"draft\":false,\"maintainer_can_modify\":true,\"title\":\"testPullRequestTeamReviewRequests\",\"body\":\"## test\",\"base\":\"main\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 11:02:08 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"b22dd505cb96b28cfc131ee6ba2c8b4229372a66df5c79225384821f22d4eae0\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; param=shadow-cat-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4914", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "86", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA58:03D4:2F68D05:3063240:6221F1AF", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449" + } + }, + "uuid": "0f635279-7df3-46b0-a658-ea83b189195a", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json deleted file mode 100644 index aab9fb43f8..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls-4.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "f9eb4ced-224a-4b9c-b9e6-fc98bdd40345", - "name": "repos_hub4j-test-org_github-api_pulls", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls", - "method": "POST", - "bodyPatterns": [ - { - "equalToJson": "{\"head\":\"test/stable\",\"maintainer_can_modify\":true,\"title\":\"testPullRequestTeamReviewRequests\",\"body\":\"## test\",\"base\":\"main\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": true - } - ], - "headers": { - "Accept": { - "equalTo": "application/vnd.github.shadow-cat-preview+json" - } - } - }, - "response": { - "status": 201, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls-4.json", - "headers": { - "Date": "Sat, 05 Oct 2019 13:12:37 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4422", - "X-RateLimit-Reset": "1570284751", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "\"dba07114e327e207bb5a4d70224649b0\"", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, read:packages, repo, user, write:discussion, write:packages", - "X-Accepted-OAuth-Scopes": "", - "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304", - "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": "F8F3:099A:F127A:1CD4F9:5D9896C4" - } - }, - "uuid": "f9eb4ced-224a-4b9c-b9e6-fc98bdd40345", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_304-7.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_304-7.json deleted file mode 100644 index dedc7e1dd8..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_304-7.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "e091cbaf-316c-4092-8205-a0d35b299a8e", - "name": "repos_hub4j-test-org_github-api_pulls_304", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/304", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.shadow-cat-preview+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_304-7.json", - "headers": { - "Date": "Sat, 05 Oct 2019 13:12:38 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4419", - "X-RateLimit-Reset": "1570284751", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"aa9b2ce65e09e2860f6ceeae18ea5a55\"", - "Last-Modified": "Sat, 05 Oct 2019 13:12:37 GMT", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, read:packages, repo, user, write:discussion, write:packages", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "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": "F8F3:099A:F1282:1CD503:5D9896C5" - } - }, - "uuid": "e091cbaf-316c-4092-8205-a0d35b299a8e", - "persistent": true, - "insertionIndex": 7 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json deleted file mode 100644 index b204c42c3e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "7df56994-6c47-49ba-8563-e1fd22adf795", - "name": "repos_hub4j-test-org_github-api_pulls_304_requested_reviewers", - "request": { - "url": "/repos/hub4j-test-org/github-api/pulls/304/requested_reviewers", - "method": "POST", - "bodyPatterns": [ - { - "equalToJson": "{\"team_reviewers\":[\"dummy-team\"]}", - "ignoreArrayOrder": true, - "ignoreExtraElements": true - } - ], - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 201, - "bodyFileName": "repos_hub4j-test-org_github-api_pulls_304_requested_reviewers-6.json", - "headers": { - "Date": "Sat, 05 Oct 2019 13:12:37 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "201 Created", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4420", - "X-RateLimit-Reset": "1570284751", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "\"a1a9fea89c597072216ed266dc248469\"", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, read:packages, repo, user, write:discussion, write:packages", - "X-Accepted-OAuth-Scopes": "", - "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/304", - "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": "F8F3:099A:F127D:1CD4FD:5D9896C5" - } - }, - "uuid": "7df56994-6c47-49ba-8563-e1fd22adf795", - "persistent": true, - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_449-6.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_449-6.json new file mode 100644 index 0000000000..8c8bef1699 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_449-6.json @@ -0,0 +1,47 @@ +{ + "id": "e2fe9f8d-cb2c-4ccf-b3ca-c695be6c9eac", + "name": "repos_hub4j-test-org_github-api_pulls_449", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/449", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.shadow-cat-preview+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_449-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 11:02:10 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"9222a15093448ea3358c445f469deea344c7c4e8af4e1b514d464ef97cb35837\"", + "Last-Modified": "Fri, 04 Mar 2022 11:02:09 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; param=shadow-cat-preview; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4911", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "89", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA5E:58CC:254446:25F89D:6221F1B1" + } + }, + "uuid": "e2fe9f8d-cb2c-4ccf-b3ca-c695be6c9eac", + "persistent": true, + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_449_requested_reviewers-5.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_449_requested_reviewers-5.json new file mode 100644 index 0000000000..74ba1bd4c5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/repos_hub4j-test-org_github-api_pulls_449_requested_reviewers-5.json @@ -0,0 +1,54 @@ +{ + "id": "25665b9e-0a9e-44db-9468-88723a87a658", + "name": "repos_hub4j-test-org_github-api_pulls_449_requested_reviewers", + "request": { + "url": "/repos/hub4j-test-org/github-api/pulls/449/requested_reviewers", + "method": "POST", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"team_reviewers\":[\"dummy-team\"]}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 201, + "bodyFileName": "repos_hub4j-test-org_github-api_pulls_449_requested_reviewers-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 11:02:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"7744a33675b5fd8d80fc3cf55ccd5229e415b1bf0b147b632b707825beebf073\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4912", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "88", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA5C:61AB:1B5A0ED:1C34A6F:6221F1B1", + "Location": "https://api.github.com/repos/hub4j-test-org/github-api/pulls/449" + } + }, + "uuid": "25665b9e-0a9e-44db-9468-88723a87a658", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/teams_3451996-8.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/teams_3451996-8.json deleted file mode 100644 index 4da3b56941..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/teams_3451996-8.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "112cf6bd-f585-4cec-9ab9-f987a3704a98", - "name": "teams_3451996", - "request": { - "url": "/teams/3451996", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "teams_3451996-8.json", - "headers": { - "Date": "Sat, 05 Oct 2019 13:12:38 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4418", - "X-RateLimit-Reset": "1570284751", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"e833a703a1e111c864fb4378cb37b5fb\"", - "Last-Modified": "Thu, 03 Oct 2019 21:51:11 GMT", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, read:packages, repo, user, write:discussion, write:packages", - "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": "F8F3:099A:F1285:1CD50A:5D9896C6" - } - }, - "uuid": "112cf6bd-f585-4cec-9ab9-f987a3704a98", - "persistent": true, - "insertionIndex": 8 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/user-1.json deleted file mode 100644 index 5977e97992..0000000000 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/user-1.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "c23a7fbe-af40-42fe-936e-b94485a32618", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Date": "Sat, 05 Oct 2019 13:12:36 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": "1570284751", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding" - ], - "ETag": "W/\"1f70a8ac0c3cc9339b0b1ec25ef7d2b8\"", - "Last-Modified": "Sat, 21 Sep 2019 13:46:39 GMT", - "X-OAuth-Scopes": "admin:enterprise, admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, read:packages, repo, user, write:discussion, write:packages", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type", - "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": "F8F3:099A:F1271:1CD4E2:5D9896C4" - } - }, - "uuid": "c23a7fbe-af40-42fe-936e-b94485a32618", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/teams_3451996_members-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/organizations_7544739_team_3451996_members-3.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/teams_3451996_members-4.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/organizations_7544739_team_3451996_members-3.json diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org-1.json @@ -0,0 +1,55 @@ +{ + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization", + "total_private_repos": 3, + "owned_private_repos": 3, + "private_gists": 0, + "disk_usage": 11979, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 35, + "seats": 3 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org_teams_dummy-team-2.json similarity index 92% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org_teams_dummy-team-3.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org_teams_dummy-team-2.json index 901d1c798b..ce21071d54 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org_teams_dummy-team-3.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -11,8 +11,8 @@ "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", "permission": "pull", "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-06-02T19:31:50Z", - "members_count": 2, + "updated_at": "2022-03-04T10:36:59Z", + "members_count": 1, "repos_count": 1, "organization": { "login": "hub4j-test-org", @@ -25,7 +25,7 @@ "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "description": "Hub4j Test Org Description (this could be null or blank too)", "name": "Hub4j Test Org Name (this could be null or blank too)", "company": null, @@ -36,7 +36,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 12, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/user-1.json deleted file mode 100644 index ad8cfa6f83..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars.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": null, - "twitter_username": "bitwiseman", - "public_repos": 212, - "public_gists": 8, - "followers": 199, - "following": 12, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2021-09-14T19:50:18Z", - "private_gists": 19, - "total_private_repos": 22, - "owned_private_repos": 0, - "disk_usage": 33700, - "collaborators": 0, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/organizations_7544739_team_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/organizations_7544739_team_3451996_members-3.json new file mode 100644 index 0000000000..b740b84dc7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/organizations_7544739_team_3451996_members-3.json @@ -0,0 +1,46 @@ +{ + "id": "99ec48e0-8f35-4db5-9ed8-fc85992db9c0", + "name": "organizations_7544739_team_3451996_members", + "request": { + "url": "/organizations/7544739/team/3451996/members?role=all", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_3451996_members-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:11 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8bded93da98ec3ba7968a4518dc805d37d535c798a700a1616ec568c70b76aae\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4970", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "30", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA1E:61AC:2C7E6DA:2D76A4E:6221EBD7" + } + }, + "uuid": "99ec48e0-8f35-4db5-9ed8-fc85992db9c0", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..06b6e03b46 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "35236358-6bcf-444f-89ce-6062a4c0fc7a", + "name": "orgs_hub4j-test-org", + "request": { + "url": "/orgs/hub4j-test-org", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:11 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4972", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "28", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA1A:DC16:4C3DD1E:4D63919:6221EBD6" + } + }, + "uuid": "35236358-6bcf-444f-89ce-6062a4c0fc7a", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json similarity index 58% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json index b08d93c163..5186f865e3 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -1,5 +1,5 @@ { - "id": "95086bc7-9f1a-44aa-83ad-081ae26296f7", + "id": "cb39a683-c859-4510-96ad-09bc517c24fb", "name": "orgs_hub4j-test-org_teams_dummy-team", "request": { "url": "/orgs/hub4j-test-org/teams/dummy-team", @@ -12,25 +12,25 @@ }, "response": { "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-3.json", + "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-2.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 19:47:11 GMT", + "Date": "Fri, 04 Mar 2022 10:37:11 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"f0e418884b0c8c4babcb289570d61a4fc86d2bb61a1be10052f1c85533ead538\"", - "Last-Modified": "Tue, 02 Jun 2020 19:31:50 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "ETag": "W/\"1fbce0cbfea113fefff1877b37929ef1d7cb9c8989a5b223df3e9ea092502191\"", + "Last-Modified": "Fri, 04 Mar 2022 10:36:59 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4991", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "9", + "X-RateLimit-Remaining": "4971", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "29", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -38,10 +38,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D366:0480:1C122E3:1DA28F1:6140FC3F" + "X-GitHub-Request-Id": "BA1C:BF13:1A33268:1B0B176:6221EBD7" } }, - "uuid": "95086bc7-9f1a-44aa-83ad-081ae26296f7", + "uuid": "cb39a683-c859-4510-96ad-09bc517c24fb", "persistent": true, - "insertionIndex": 3 + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/teams_3451996_members-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/teams_3451996_members-4.json deleted file mode 100644 index a07158a198..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/teams_3451996_members-4.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "99fc4e80-a38a-48fd-a710-bf78427cd01f", - "name": "teams_3451996_members", - "request": { - "url": "/teams/3451996/members?role=all", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "teams_3451996_members-4.json", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 19:55:24 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"e39c5fe75de36015576d95c20228bba704d43d323b1a06e09bb794ae6bb4684c\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4980", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "20", - "X-RateLimit-Resource": "core", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "0", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D3A2:26AC:AC78BE:BF49E6:6140FE2C", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "99fc4e80-a38a-48fd-a710-bf78427cd01f", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/user-1.json deleted file mode 100644 index 23d4c25e87..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/user-1.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "4437798f-9e8e-406a-96d5-fbd22e7d871f", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 19:55:23 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"b99fd8b2d9f182dd9db22ffe796a92585ef33b37deb5017a070feecd0512e469\"", - "Last-Modified": "Tue, 14 Sep 2021 19:50:18 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4984", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "16", - "X-RateLimit-Resource": "core", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "0", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D39A:601C:E1DEC1:F6AF6D:6140FE2B" - } - }, - "uuid": "4437798f-9e8e-406a-96d5-fbd22e7d871f", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/teams_3451996_members-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/organizations_7544739_team_3451996_members-3.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/teams_3451996_members-4.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/organizations_7544739_team_3451996_members-3.json diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org-1.json @@ -0,0 +1,55 @@ +{ + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization", + "total_private_repos": 3, + "owned_private_repos": 3, + "private_gists": 0, + "disk_usage": 11979, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 35, + "seats": 3 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org_teams_dummy-team-2.json new file mode 100644 index 0000000000..ce21071d54 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -0,0 +1,49 @@ +{ + "name": "dummy-team", + "id": 3451996, + "node_id": "MDQ6VGVhbTM0NTE5OTY=", + "slug": "dummy-team", + "description": "Updated by API TestModified", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3451996", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", + "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", + "permission": "pull", + "created_at": "2019-10-03T21:46:12Z", + "updated_at": "2022-03-04T10:36:59Z", + "members_count": 1, + "repos_count": 1, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + }, + "parent": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/organizations_7544739_team_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/organizations_7544739_team_3451996_members-3.json new file mode 100644 index 0000000000..b20e3a6481 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/organizations_7544739_team_3451996_members-3.json @@ -0,0 +1,46 @@ +{ + "id": "dc0c607b-fcc4-4c25-ba62-29186c8946be", + "name": "organizations_7544739_team_3451996_members", + "request": { + "url": "/organizations/7544739/team/3451996/members?role=all", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_3451996_members-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:01 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8bded93da98ec3ba7968a4518dc805d37d535c798a700a1616ec568c70b76aae\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4985", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "15", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9FE:61AD:3EFA50B:401232E:6221EBCD" + } + }, + "uuid": "dc0c607b-fcc4-4c25-ba62-29186c8946be", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..e56e6814cd --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "1365a12d-178f-476e-a627-8a187466e714", + "name": "orgs_hub4j-test-org", + "request": { + "url": "/orgs/hub4j-test-org", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:00 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4987", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "13", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9FA:3618:5817E6:632952:6221EBCC" + } + }, + "uuid": "1365a12d-178f-476e-a627-8a187466e714", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams_dummy-team-9.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json similarity index 55% rename from src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams_dummy-team-9.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json index b3a49c68f6..4cc9706fdb 100644 --- a/src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/testPullRequestTeamReviewRequests/mappings/orgs_hub4j-test-org_teams_dummy-team-9.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -1,5 +1,5 @@ { - "id": "7052eece-1708-4d47-8f66-5d45136c43e6", + "id": "86d0a8d7-3d91-42f7-90a4-54f7f9a7fe4b", "name": "orgs_hub4j-test-org_teams_dummy-team", "request": { "url": "/orgs/hub4j-test-org/teams/dummy-team", @@ -12,35 +12,36 @@ }, "response": { "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-9.json", + "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-2.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 17 Mar 2020 09:19:41 GMT", + "Date": "Fri, 04 Mar 2022 10:37:00 GMT", "Content-Type": "application/json; charset=utf-8", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4990", - "X-RateLimit-Reset": "1584440312", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"3760fae93c6e9cb6c970a0e6bdbcaf53\"", - "Last-Modified": "Tue, 17 Mar 2020 09:12:26 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", + "ETag": "W/\"1fbce0cbfea113fefff1877b37929ef1d7cb9c8989a5b223df3e9ea092502191\"", + "Last-Modified": "Fri, 04 Mar 2022 10:36:59 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4986", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "14", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "F98A:4C84:18DACD9:3CB7D53:5E70962D" + "X-GitHub-Request-Id": "B9FC:61AD:3EFA471:4012299:6221EBCC" } }, - "uuid": "7052eece-1708-4d47-8f66-5d45136c43e6", + "uuid": "86d0a8d7-3d91-42f7-90a4-54f7f9a7fe4b", "persistent": true, - "insertionIndex": 9 + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/teams_3451996_members-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/teams_3451996_members-4.json deleted file mode 100644 index 202f00d90d..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/teams_3451996_members-4.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "2fc9880e-cfe1-4e53-b4e3-3fbcdddbde28", - "name": "teams_3451996_members", - "request": { - "url": "/teams/3451996/members?role=all", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "teams_3451996_members-4.json", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 19:47:11 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"e39c5fe75de36015576d95c20228bba704d43d323b1a06e09bb794ae6bb4684c\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4990", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "10", - "X-RateLimit-Resource": "core", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "0", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D368:5F30:428577:54782C:6140FC3F", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "2fc9880e-cfe1-4e53-b4e3-3fbcdddbde28", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/teams_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/organizations_7544739_team_3451996_members-3.json similarity index 92% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/teams_3451996_members-3.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/organizations_7544739_team_3451996_members-3.json index a3cec9e1a6..10e9756d26 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/teams_3451996_members-3.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/organizations_7544739_team_3451996_members-3.json @@ -3,7 +3,7 @@ "login": "bitwiseman", "id": 1958953, "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars3.githubusercontent.com/u/1958953?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/1958953?v=4", "gravatar_id": "", "url": "https://api.github.com/users/bitwiseman", "html_url": "https://github.com/bitwiseman", diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/orgs_hub4j-test-org-1.json index bdba1fe825..162ceb1c73 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/orgs_hub4j-test-org-1.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/orgs_hub4j-test-org-1.json @@ -9,7 +9,7 @@ "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "description": "Hub4j Test Org Description (this could be null or blank too)", "name": "Hub4j Test Org Name (this could be null or blank too)", "company": null, @@ -20,7 +20,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 13, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, @@ -28,21 +28,28 @@ "created_at": "2014-05-10T19:39:11Z", "updated_at": "2020-06-04T05:56:10Z", "type": "Organization", - "total_private_repos": 1, - "owned_private_repos": 1, + "total_private_repos": 3, + "owned_private_repos": 3, "private_gists": 0, - "disk_usage": 152, + "disk_usage": 11979, "collaborators": 0, "billing_email": "kk@kohsuke.org", "default_repository_permission": "none", "members_can_create_repositories": false, "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, "plan": { "name": "free", "space": 976562499, "private_repos": 10000, - "filled_seats": 18, + "filled_seats": 35, "seats": 3 } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/orgs_hub4j-test-org_teams_dummy-team-2.json index 26cacb2903..11114810a0 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/orgs_hub4j-test-org_teams_dummy-team-2.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/__files/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -11,7 +11,7 @@ "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", "permission": "pull", "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-06-02T19:31:50Z", + "updated_at": "2022-03-04T09:25:29Z", "members_count": 1, "repos_count": 1, "organization": { @@ -25,7 +25,7 @@ "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "description": "Hub4j Test Org Description (this could be null or blank too)", "name": "Hub4j Test Org Name (this could be null or blank too)", "company": null, @@ -36,7 +36,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 13, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/organizations_7544739_team_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/organizations_7544739_team_3451996_members-3.json new file mode 100644 index 0000000000..0c034d09f1 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/organizations_7544739_team_3451996_members-3.json @@ -0,0 +1,46 @@ +{ + "id": "fb8e189d-22fb-40d0-a624-f900ce8579a9", + "name": "organizations_7544739_team_3451996_members", + "request": { + "url": "/organizations/7544739/team/3451996/members?role=admin", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_3451996_members-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:36:57 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8bded93da98ec3ba7968a4518dc805d37d535c798a700a1616ec568c70b76aae\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4997", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "3", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9E6:DC13:B3E4E0:BFA92D:6221EBC9" + } + }, + "uuid": "fb8e189d-22fb-40d0-a624-f900ce8579a9", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/orgs_hub4j-test-org-1.json index 521e782b5d..7f478a4a2a 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/orgs_hub4j-test-org-1.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/orgs_hub4j-test-org-1.json @@ -1,5 +1,5 @@ { - "id": "ac370d2e-d963-4c5e-aa4b-f2a0cc232163", + "id": "fdc50010-20ee-471b-8e56-0967ef046b40", "name": "orgs_hub4j-test-org", "request": { "url": "/orgs/hub4j-test-org", @@ -14,33 +14,34 @@ "status": 200, "bodyFileName": "orgs_hub4j-test-org-1.json", "headers": { - "Date": "Wed, 04 Nov 2020 08:59:46 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", + "Date": "Fri, 04 Mar 2022 10:36:57 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With", - "Accept-Encoding" + "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"5c55d16bf1d59fa9c42072f73eac7e9484cb6b90e83ce9fecee1423b52bf612f\"", + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4993", - "X-RateLimit-Reset": "1604483790", - "X-RateLimit-Used": "7", + "X-RateLimit-Remaining": "4999", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "1", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "DB4A:2593:34CDD08:3BFC6A5:5FA26D81" + "X-GitHub-Request-Id": "B9E2:DC16:4C3BFD0:4D61B4F:6221EBC8" } }, - "uuid": "ac370d2e-d963-4c5e-aa4b-f2a0cc232163", + "uuid": "fdc50010-20ee-471b-8e56-0967ef046b40", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json index 8e22334007..02608fd645 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -1,5 +1,5 @@ { - "id": "b7b0e265-4f0e-4b4d-a9ac-bb88067f8f96", + "id": "df44225a-7003-408c-b43a-859d2a258c29", "name": "orgs_hub4j-test-org_teams_dummy-team", "request": { "url": "/orgs/hub4j-test-org/teams/dummy-team", @@ -14,33 +14,34 @@ "status": 200, "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-2.json", "headers": { - "Date": "Wed, 04 Nov 2020 08:59:46 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", + "Date": "Fri, 04 Mar 2022 10:36:57 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With", - "Accept-Encoding" + "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"087f5aba00a8363b8754fb3c15ba46d72105cdeb0c841f21bd3009a71b39aa7a\"", - "Last-Modified": "Tue, 02 Jun 2020 19:31:50 GMT", - "X-GitHub-Media-Type": "unknown, github.v3", + "ETag": "W/\"6c916bc74154ac7c596ac003048cdde9182e004e26cb837c8a76fd29a34cd9d2\"", + "Last-Modified": "Fri, 04 Mar 2022 09:25:29 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4992", - "X-RateLimit-Reset": "1604483790", - "X-RateLimit-Used": "8", + "X-RateLimit-Remaining": "4998", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "2", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "DB4A:2593:34CDD66:3BFC6C8:5FA26D82" + "X-GitHub-Request-Id": "B9E4:265A:1260D3B:12CF2E1:6221EBC9" } }, - "uuid": "b7b0e265-4f0e-4b4d-a9ac-bb88067f8f96", + "uuid": "df44225a-7003-408c-b43a-859d2a258c29", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/teams_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/teams_3451996_members-3.json deleted file mode 100644 index e5c42c5815..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersAdmin/mappings/teams_3451996_members-3.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "5ae66057-a096-48c4-a32c-b3baff1351d0", - "name": "teams_3451996_members", - "request": { - "url": "/teams/3451996/members?role=admin", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "teams_3451996_members-3.json", - "headers": { - "Date": "Wed, 04 Nov 2020 08:59:47 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With", - "Accept-Encoding" - ], - "ETag": "W/\"5e0877dcfff7c4b3268d7d416b181ebafe1714c592ff52d01d75930662c0c556\"", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4991", - "X-RateLimit-Reset": "1604483790", - "X-RateLimit-Used": "9", - "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": "DB4A:2593:34CDD8A:3BFC734:5FA26D82", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "5ae66057-a096-48c4-a32c-b3baff1351d0", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/__files/orgs_hub4j-test-org-1.json index bdba1fe825..162ceb1c73 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/__files/orgs_hub4j-test-org-1.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/__files/orgs_hub4j-test-org-1.json @@ -9,7 +9,7 @@ "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "description": "Hub4j Test Org Description (this could be null or blank too)", "name": "Hub4j Test Org Name (this could be null or blank too)", "company": null, @@ -20,7 +20,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 13, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, @@ -28,21 +28,28 @@ "created_at": "2014-05-10T19:39:11Z", "updated_at": "2020-06-04T05:56:10Z", "type": "Organization", - "total_private_repos": 1, - "owned_private_repos": 1, + "total_private_repos": 3, + "owned_private_repos": 3, "private_gists": 0, - "disk_usage": 152, + "disk_usage": 11979, "collaborators": 0, "billing_email": "kk@kohsuke.org", "default_repository_permission": "none", "members_can_create_repositories": false, "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, "plan": { "name": "free", "space": 976562499, "private_repos": 10000, - "filled_seats": 18, + "filled_seats": 35, "seats": 3 } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/__files/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/__files/orgs_hub4j-test-org_teams_dummy-team-2.json index 26cacb2903..ce21071d54 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/__files/orgs_hub4j-test-org_teams_dummy-team-2.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/__files/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -11,7 +11,7 @@ "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", "permission": "pull", "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-06-02T19:31:50Z", + "updated_at": "2022-03-04T10:36:59Z", "members_count": 1, "repos_count": 1, "organization": { @@ -25,7 +25,7 @@ "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "description": "Hub4j Test Org Description (this could be null or blank too)", "name": "Hub4j Test Org Name (this could be null or blank too)", "company": null, @@ -36,7 +36,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 13, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/organizations_7544739_team_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/organizations_7544739_team_3451996_members-3.json new file mode 100644 index 0000000000..bc772b6d8c --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/organizations_7544739_team_3451996_members-3.json @@ -0,0 +1,46 @@ +{ + "id": "51c4ed70-2922-41b2-8747-ed841b80df5d", + "name": "organizations_7544739_team_3451996_members", + "request": { + "url": "/organizations/7544739/team/3451996/members?role=member", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"e33d671b99cfd3b69cbea6599065ce3f5431730434d2452958e0865316fdb5be\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4982", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "18", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA06:5E63:8C7E2B:91D3DF:6221EBCD" + } + }, + "uuid": "51c4ed70-2922-41b2-8747-ed841b80df5d", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/orgs_hub4j-test-org-1.json index a0739462af..8ba7506d32 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/orgs_hub4j-test-org-1.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/orgs_hub4j-test-org-1.json @@ -1,5 +1,5 @@ { - "id": "20c5c560-68e5-4aaf-86c4-edcb41d2ab15", + "id": "2edf98ab-d025-4f7d-89b1-4a8f1868f57a", "name": "orgs_hub4j-test-org", "request": { "url": "/orgs/hub4j-test-org", @@ -14,33 +14,34 @@ "status": 200, "bodyFileName": "orgs_hub4j-test-org-1.json", "headers": { - "Date": "Wed, 04 Nov 2020 09:00:17 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", + "Date": "Fri, 04 Mar 2022 10:37:01 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With", - "Accept-Encoding" + "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"5c55d16bf1d59fa9c42072f73eac7e9484cb6b90e83ce9fecee1423b52bf612f\"", + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4990", - "X-RateLimit-Reset": "1604483790", - "X-RateLimit-Used": "10", + "X-RateLimit-Remaining": "4984", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "16", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "C082:2595:D775137:F6843D5:5FA26DA1" + "X-GitHub-Request-Id": "BA02:492A:1429520:14869ED:6221EBCD" } }, - "uuid": "20c5c560-68e5-4aaf-86c4-edcb41d2ab15", + "uuid": "2edf98ab-d025-4f7d-89b1-4a8f1868f57a", "persistent": true, "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json index 33c2926284..7f5b649eff 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -1,5 +1,5 @@ { - "id": "6c13a809-f159-407e-a8a1-1d647e725448", + "id": "467c0d8c-928a-4fd8-9829-e3818a15533a", "name": "orgs_hub4j-test-org_teams_dummy-team", "request": { "url": "/orgs/hub4j-test-org/teams/dummy-team", @@ -14,33 +14,34 @@ "status": 200, "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-2.json", "headers": { - "Date": "Wed, 04 Nov 2020 09:00:18 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", + "Date": "Fri, 04 Mar 2022 10:37:01 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With", - "Accept-Encoding" + "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"087f5aba00a8363b8754fb3c15ba46d72105cdeb0c841f21bd3009a71b39aa7a\"", - "Last-Modified": "Tue, 02 Jun 2020 19:31:50 GMT", - "X-GitHub-Media-Type": "unknown, github.v3", + "ETag": "W/\"1fbce0cbfea113fefff1877b37929ef1d7cb9c8989a5b223df3e9ea092502191\"", + "Last-Modified": "Fri, 04 Mar 2022 10:36:59 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4989", - "X-RateLimit-Reset": "1604483790", - "X-RateLimit-Used": "11", + "X-RateLimit-Remaining": "4983", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "17", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "C082:2595:D7752C2:F684452:5FA26DA1" + "X-GitHub-Request-Id": "BA04:89C6:1A80021:1B2076A:6221EBCD" } }, - "uuid": "6c13a809-f159-407e-a8a1-1d647e725448", + "uuid": "467c0d8c-928a-4fd8-9829-e3818a15533a", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/teams_3451996_members-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/teams_3451996_members-3.json deleted file mode 100644 index 1aca8c496b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembersNoMatch/mappings/teams_3451996_members-3.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "c1db32bb-8a8c-4d7f-88d1-762949bdafa0", - "name": "teams_3451996_members", - "request": { - "url": "/teams/3451996/members?role=member", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "body": "[]", - "headers": { - "Date": "Wed, 04 Nov 2020 09:00:19 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With", - "Accept-Encoding" - ], - "ETag": "\"c50e147b7d138def60de663ab6b95bb2ba89c474bfe67cce47ce2d74f28986ff\"", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4988", - "X-RateLimit-Reset": "1604483790", - "X-RateLimit-Used": "12", - "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": "C082:2595:D775387:F684644:5FA26DA2", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "c1db32bb-8a8c-4d7f-88d1-762949bdafa0", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/teams_3451996_teams-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/organizations_7544739_team_3451996_teams-3.json similarity index 100% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/teams_3451996_teams-4.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/organizations_7544739_team_3451996_teams-3.json diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org-1.json @@ -0,0 +1,55 @@ +{ + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization", + "total_private_repos": 3, + "owned_private_repos": 3, + "private_gists": 0, + "disk_usage": 11979, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 35, + "seats": 3 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index 13fc601f7a..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", - "description": "Hub4j Test Org Description (this could be null or blank too)", - "name": "Hub4j Test Org Name (this could be null or blank too)", - "company": null, - "blog": "https://hub4j.url.io/could/be/null", - "location": "Hub4j Test Org Location (this could be null or blank too)", - "email": "hub4jtestorgemail@could.be.null.com", - "twitter_username": null, - "is_verified": false, - "has_organization_projects": true, - "has_repository_projects": true, - "public_repos": 12, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2020-06-04T05:56:10Z", - "type": "Organization", - "total_private_repos": 0, - "owned_private_repos": 0, - "private_gists": null, - "disk_usage": null, - "collaborators": null, - "billing_email": null, - "default_repository_permission": null, - "members_can_create_repositories": false, - "two_factor_requirement_enabled": null, - "plan": { - "name": "free", - "space": 976562499, - "private_repos": 10000, - "filled_seats": 19, - "seats": 3 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org_teams_dummy-team-2.json new file mode 100644 index 0000000000..ce21071d54 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -0,0 +1,49 @@ +{ + "name": "dummy-team", + "id": 3451996, + "node_id": "MDQ6VGVhbTM0NTE5OTY=", + "slug": "dummy-team", + "description": "Updated by API TestModified", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3451996", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", + "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", + "permission": "pull", + "created_at": "2019-10-03T21:46:12Z", + "updated_at": "2022-03-04T10:36:59Z", + "members_count": 1, + "repos_count": 1, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + }, + "parent": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/user-1.json deleted file mode 100644 index 63f8096f44..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/__files/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "login": "alexanderkjall", - "id": 647710, - "node_id": "MDQ6VXNlcjY0NzcxMA==", - "avatar_url": "https://avatars2.githubusercontent.com/u/647710?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/alexanderkjall", - "html_url": "https://github.com/alexanderkjall", - "followers_url": "https://api.github.com/users/alexanderkjall/followers", - "following_url": "https://api.github.com/users/alexanderkjall/following{/other_user}", - "gists_url": "https://api.github.com/users/alexanderkjall/gists{/gist_id}", - "starred_url": "https://api.github.com/users/alexanderkjall/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/alexanderkjall/subscriptions", - "organizations_url": "https://api.github.com/users/alexanderkjall/orgs", - "repos_url": "https://api.github.com/users/alexanderkjall/repos", - "events_url": "https://api.github.com/users/alexanderkjall/events{/privacy}", - "received_events_url": "https://api.github.com/users/alexanderkjall/received_events", - "type": "User", - "site_admin": false, - "name": "Alexander Kjäll", - "company": "DI", - "blog": "", - "location": "Oslo", - "email": "alexander.kjall@gmail.com", - "hireable": null, - "bio": null, - "twitter_username": null, - "public_repos": 56, - "public_gists": 6, - "followers": 10, - "following": 7, - "created_at": "2011-03-02T20:31:15Z", - "updated_at": "2020-06-19T06:10:45Z", - "private_gists": 1, - "total_private_repos": 1, - "owned_private_repos": 1, - "disk_usage": 46941, - "collaborators": 0, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/organizations_7544739_team_3451996_teams-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/organizations_7544739_team_3451996_teams-3.json new file mode 100644 index 0000000000..519c6c26d7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/organizations_7544739_team_3451996_teams-3.json @@ -0,0 +1,46 @@ +{ + "id": "100fc073-1fdc-4715-94c1-fbf410d74da0", + "name": "organizations_7544739_team_3451996_teams", + "request": { + "url": "/organizations/7544739/team/3451996/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_3451996_teams-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:00 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1f1e7f72a8c1d013af016c2df9831d999124f580cd508cb53404fdd0981ef698\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "12", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9F8:BF13:1A327EC:1B0A6BE:6221EBCC" + } + }, + "uuid": "100fc073-1fdc-4715-94c1-fbf410d74da0", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..145aff3feb --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "780bda7a-e76d-4840-87e4-ba6411cfc9c2", + "name": "orgs_hub4j-test-org", + "request": { + "url": "/orgs/hub4j-test-org", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:36:59 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4990", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "10", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9F4:5E65:1A3BC41:1AAFE9E:6221EBCB" + } + }, + "uuid": "780bda7a-e76d-4840-87e4-ba6411cfc9c2", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index 8709e125c7..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "4d3be7ef-fe05-4739-9138-d2050a55a479", - "name": "orgs_hub4j-test-org", - "request": { - "url": "/orgs/hub4j-test-org", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org-2.json", - "headers": { - "Date": "Fri, 19 Jun 2020 06:25:15 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4983", - "X-RateLimit-Reset": "1592551194", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With", - "Accept-Encoding" - ], - "ETag": "W/\"1cf57cb32512ca7f96e2d9133ecbb8e4\"", - "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", - "X-OAuth-Scopes": "read:discussion, read:enterprise, read:gpg_key, read:org, read:packages, read:public_key, read:repo_hook, read:user", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "3A75:36154:6E3961D:844DC9F:5EEC5A4A" - } - }, - "uuid": "4d3be7ef-fe05-4739-9138-d2050a55a479", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json new file mode 100644 index 0000000000..e111927f88 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -0,0 +1,47 @@ +{ + "id": "e688e202-0c96-4144-b415-cb16f315d478", + "name": "orgs_hub4j-test-org_teams_dummy-team", + "request": { + "url": "/orgs/hub4j-test-org/teams/dummy-team", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:00 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"1fbce0cbfea113fefff1877b37929ef1d7cb9c8989a5b223df3e9ea092502191\"", + "Last-Modified": "Fri, 04 Mar 2022 10:36:59 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "11", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "B9F6:361D:2C7B93A:2D76BBD:6221EBCB" + } + }, + "uuid": "e688e202-0c96-4144-b415-cb16f315d478", + "persistent": true, + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json deleted file mode 100644 index 9ad8e09439..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "7f56b474-35c0-4a6b-82d6-2ebbd5a88725", - "name": "orgs_hub4j-test-org_teams_dummy-team", - "request": { - "url": "/orgs/hub4j-test-org/teams/dummy-team", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-3.json", - "headers": { - "Date": "Fri, 19 Jun 2020 06:25:15 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4982", - "X-RateLimit-Reset": "1592551193", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With", - "Accept-Encoding" - ], - "ETag": "W/\"df4f58bfeba1d4c5945b3dcd4e9579f9\"", - "Last-Modified": "Tue, 02 Jun 2020 19:31:50 GMT", - "X-OAuth-Scopes": "read:discussion, read:enterprise, read:gpg_key, read:org, read:packages, read:public_key, read:repo_hook, read:user", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "3A75:36154:6E3968D:844DE58:5EEC5A4B" - } - }, - "uuid": "7f56b474-35c0-4a6b-82d6-2ebbd5a88725", - "persistent": true, - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/teams_3451996_teams-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/teams_3451996_teams-4.json deleted file mode 100644 index e97f49037c..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/teams_3451996_teams-4.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "c29c8c17-2529-4266-933e-2fba6569b235", - "name": "teams_3451996_teams", - "request": { - "url": "/teams/3451996/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "teams_3451996_teams-4.json", - "headers": { - "Date": "Fri, 19 Jun 2020 06:25:16 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4981", - "X-RateLimit-Reset": "1592551194", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With", - "Accept-Encoding" - ], - "ETag": "W/\"0c83b6a8518d93d48b0d72413e32e65b\"", - "X-OAuth-Scopes": "read:discussion, read:enterprise, read:gpg_key, read:org, read:packages, read:public_key, read:repo_hook, read:user", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", - "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": "3A75:36154:6E396FD:844DEDD:5EEC5A4B", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "c29c8c17-2529-4266-933e-2fba6569b235", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/user-1.json deleted file mode 100644 index 4190c15a16..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchChildTeams/mappings/user-1.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "f995e14b-7512-443c-8eca-d623b67e63f9", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Date": "Fri, 19 Jun 2020 06:25:14 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4985", - "X-RateLimit-Reset": "1592551193", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With", - "Accept-Encoding" - ], - "ETag": "W/\"89ff4a8b6ccfac0c1ba328a1c063ea1f\"", - "Last-Modified": "Fri, 19 Jun 2020 06:10:45 GMT", - "X-OAuth-Scopes": "read:discussion, read:enterprise, read:gpg_key, read:org, read:packages, read:public_key, read:repo_hook, read:user", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "3A75:36154:6E394AB:844DC3B:5EEC5A4A" - } - }, - "uuid": "f995e14b-7512-443c-8eca-d623b67e63f9", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org-1.json @@ -0,0 +1,55 @@ +{ + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization", + "total_private_repos": 3, + "owned_private_repos": 3, + "private_gists": 0, + "disk_usage": 11979, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 35, + "seats": 3 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org_teams_simple-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org_teams_simple-team-2.json similarity index 95% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org_teams_simple-team-3.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org_teams_simple-team-2.json index 1dc59986c5..9d55f361e0 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org_teams_simple-team-3.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/orgs_hub4j-test-org_teams_simple-team-2.json @@ -25,7 +25,7 @@ "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", - "avatar_url": "https://avatars3.githubusercontent.com/u/7544739?v=4", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", "description": "Hub4j Test Org Description (this could be null or blank too)", "name": "Hub4j Test Org Name (this could be null or blank too)", "company": null, @@ -36,7 +36,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 12, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/user-1.json deleted file mode 100644 index da47ebca2f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/__files/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "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": null, - "twitter_username": "bitwiseman", - "public_repos": 196, - "public_gists": 7, - "followers": 165, - "following": 9, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2020-07-14T20:54:47Z", - "private_gists": 19, - "total_private_repos": 14, - "owned_private_repos": 0, - "disk_usage": 33700, - "collaborators": 0, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/organizations_7544739_team_3947450_teams-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/organizations_7544739_team_3947450_teams-3.json new file mode 100644 index 0000000000..8e2617388a --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/organizations_7544739_team_3947450_teams-3.json @@ -0,0 +1,46 @@ +{ + "id": "e0111f58-4a6a-457f-bc56-f3b3fd7e298c", + "name": "organizations_7544739_team_3947450_teams", + "request": { + "url": "/organizations/7544739/team/3947450/teams", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "[]", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:07 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "\"e33d671b99cfd3b69cbea6599065ce3f5431730434d2452958e0865316fdb5be\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4979", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "21", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA0C:BF12:DC564E:E84670:6221EBD3" + } + }, + "uuid": "e0111f58-4a6a-457f-bc56-f3b3fd7e298c", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..07589503ea --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "cb51fd44-3466-4112-84ec-d3d578ececc6", + "name": "orgs_hub4j-test-org", + "request": { + "url": "/orgs/hub4j-test-org", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:02 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4981", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "19", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA08:361E:4239F7A:43549A1:6221EBCE" + } + }, + "uuid": "cb51fd44-3466-4112-84ec-d3d578ececc6", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org_teams_simple-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org_teams_simple-team-2.json similarity index 58% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org_teams_simple-team-3.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org_teams_simple-team-2.json index c5f8848a20..258cb6bf1b 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org_teams_simple-team-3.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/orgs_hub4j-test-org_teams_simple-team-2.json @@ -1,5 +1,5 @@ { - "id": "015dd9a8-6fb4-4ab0-9053-15905e3a80be", + "id": "dd60e897-5342-4517-8704-2b951435707d", "name": "orgs_hub4j-test-org_teams_simple-team", "request": { "url": "/orgs/hub4j-test-org/teams/simple-team", @@ -12,35 +12,36 @@ }, "response": { "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams_simple-team-3.json", + "bodyFileName": "orgs_hub4j-test-org_teams_simple-team-2.json", "headers": { "Server": "GitHub.com", - "Date": "Wed, 15 Jul 2020 20:38:33 GMT", + "Date": "Fri, 04 Mar 2022 10:37:07 GMT", "Content-Type": "application/json; charset=utf-8", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4987", - "X-RateLimit-Reset": "1594848477", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"a5eb4fddb71a5d9f0af1fdcf97a20361\"", + "ETag": "W/\"8557055a36bacde4775204556e023a2d33be12012cda6cf2491eb772c8d60ceb\"", "Last-Modified": "Wed, 15 Jul 2020 20:36:47 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4980", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "20", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "CB6B:7F44:5E37BE:DCCC34:5F0F6949" + "X-GitHub-Request-Id": "BA0A:B362:341BBFD:3518CFE:6221EBCE" } }, - "uuid": "015dd9a8-6fb4-4ab0-9053-15905e3a80be", + "uuid": "dd60e897-5342-4517-8704-2b951435707d", "persistent": true, - "insertionIndex": 3 + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/teams_3947450_teams-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/teams_3947450_teams-4.json deleted file mode 100644 index c93a68ba5f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/teams_3947450_teams-4.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "7a45d54e-c5da-4fd9-bb6a-121d5bc2381c", - "name": "teams_3947450_teams", - "request": { - "url": "/teams/3947450/teams", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "body": "[]", - "headers": { - "Server": "GitHub.com", - "Date": "Wed, 15 Jul 2020 20:38:33 GMT", - "Content-Type": "application/json; charset=utf-8", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4986", - "X-RateLimit-Reset": "1594848477", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "\"c2ec59aeeea67fff8edf681155a22565\"", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", - "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": "CB6B:7F44:5E37C8:DCCC46:5F0F6949", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "7a45d54e-c5da-4fd9-bb6a-121d5bc2381c", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/user-1.json deleted file mode 100644 index e38d9b9d7f..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testFetchEmptyChildTeams/mappings/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "d3cc8cd3-77b2-49be-bfed-02cf7a5cce56", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Server": "GitHub.com", - "Date": "Wed, 15 Jul 2020 20:38:32 GMT", - "Content-Type": "application/json; charset=utf-8", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4990", - "X-RateLimit-Reset": "1594848477", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"a4dab08bcf40f1302ada7a08825695c8\"", - "Last-Modified": "Tue, 14 Jul 2020 20:54:47 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, write:discussion", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "CB6B:7F44:5E378A:DCCBB5:5F0F6948" - } - }, - "uuid": "d3cc8cd3-77b2-49be-bfed-02cf7a5cce56", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/organizations_7544739_team_3451996-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/organizations_7544739_team_3451996-3.json new file mode 100644 index 0000000000..27318daa03 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/organizations_7544739_team_3451996-3.json @@ -0,0 +1,49 @@ +{ + "name": "dummy-team", + "id": 3451996, + "node_id": "MDQ6VGVhbTM0NTE5OTY=", + "slug": "dummy-team", + "description": "Updated by API Test", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3451996", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", + "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", + "permission": "pull", + "parent": null, + "created_at": "2019-10-03T21:46:12Z", + "updated_at": "2022-03-04T10:36:58Z", + "members_count": 1, + "repos_count": 1, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/organizations_7544739_team_3451996-5.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/organizations_7544739_team_3451996-5.json new file mode 100644 index 0000000000..9efe11f1d2 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/organizations_7544739_team_3451996-5.json @@ -0,0 +1,49 @@ +{ + "name": "dummy-team", + "id": 3451996, + "node_id": "MDQ6VGVhbTM0NTE5OTY=", + "slug": "dummy-team", + "description": "Updated by API TestModified", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3451996", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", + "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", + "permission": "pull", + "parent": null, + "created_at": "2019-10-03T21:46:12Z", + "updated_at": "2022-03-04T10:36:59Z", + "members_count": 1, + "repos_count": 1, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org-1.json @@ -0,0 +1,55 @@ +{ + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization", + "total_private_repos": 3, + "owned_private_repos": 3, + "private_gists": 0, + "disk_usage": 11979, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 35, + "seats": 3 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index 8c0ba78353..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-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": 147, - "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": 13, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-2.json new file mode 100644 index 0000000000..11114810a0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -0,0 +1,49 @@ +{ + "name": "dummy-team", + "id": 3451996, + "node_id": "MDQ6VGVhbTM0NTE5OTY=", + "slug": "dummy-team", + "description": "Updated by API TestModified", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3451996", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", + "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", + "permission": "pull", + "created_at": "2019-10-03T21:46:12Z", + "updated_at": "2022-03-04T09:25:29Z", + "members_count": 1, + "repos_count": 1, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + }, + "parent": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-3.json deleted file mode 100644 index 94f2819019..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-3.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:06:57Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - }, - "parent": null -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-4.json new file mode 100644 index 0000000000..0d49c31aa7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-4.json @@ -0,0 +1,49 @@ +{ + "name": "dummy-team", + "id": 3451996, + "node_id": "MDQ6VGVhbTM0NTE5OTY=", + "slug": "dummy-team", + "description": "Updated by API Test", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3451996", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", + "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", + "permission": "pull", + "created_at": "2019-10-03T21:46:12Z", + "updated_at": "2022-03-04T10:36:58Z", + "members_count": 1, + "repos_count": 1, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + }, + "parent": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-5.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-5.json deleted file mode 100644 index 4a1c6fd5e7..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-5.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API Test", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:12:22Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - }, - "parent": null -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-6.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-6.json new file mode 100644 index 0000000000..ce21071d54 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-6.json @@ -0,0 +1,49 @@ +{ + "name": "dummy-team", + "id": 3451996, + "node_id": "MDQ6VGVhbTM0NTE5OTY=", + "slug": "dummy-team", + "description": "Updated by API TestModified", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3451996", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", + "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", + "permission": "pull", + "created_at": "2019-10-03T21:46:12Z", + "updated_at": "2022-03-04T10:36:59Z", + "members_count": 1, + "repos_count": 1, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + }, + "parent": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-7.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-7.json deleted file mode 100644 index fc7e8b009e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/orgs_hub4j-test-org_teams_dummy-team-7.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:12:23Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - }, - "parent": null -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/teams_3451996-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/teams_3451996-4.json deleted file mode 100644 index ee8659ce14..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/teams_3451996-4.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API Test", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "parent": null, - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:12:22Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/teams_3451996-6.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/teams_3451996-6.json deleted file mode 100644 index 28ac4ece06..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/teams_3451996-6.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "parent": null, - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:12:23Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/user-1.json deleted file mode 100644 index 3ed6e3f008..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/__files/user-1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "login": "ingwarsw", - "id": 5390156, - "node_id": "MDQ6VXNlcjUzOTAxNTY=", - "avatar_url": "https://avatars2.githubusercontent.com/u/5390156?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/ingwarsw", - "html_url": "https://github.com/ingwarsw", - "followers_url": "https://api.github.com/users/ingwarsw/followers", - "following_url": "https://api.github.com/users/ingwarsw/following{/other_user}", - "gists_url": "https://api.github.com/users/ingwarsw/gists{/gist_id}", - "starred_url": "https://api.github.com/users/ingwarsw/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/ingwarsw/subscriptions", - "organizations_url": "https://api.github.com/users/ingwarsw/orgs", - "repos_url": "https://api.github.com/users/ingwarsw/repos", - "events_url": "https://api.github.com/users/ingwarsw/events{/privacy}", - "received_events_url": "https://api.github.com/users/ingwarsw/received_events", - "type": "User", - "site_admin": false, - "name": "Karol Lassak", - "company": "Ingwar & co.", - "blog": "ingwar.eu.org", - "location": "Warsaw, Poland", - "email": "ingwar@ingwar.eu.org", - "hireable": true, - "bio": null, - "public_repos": 38, - "public_gists": 0, - "followers": 14, - "following": 3, - "created_at": "2013-09-05T09:58:28Z", - "updated_at": "2020-03-17T08:28:47Z", - "private_gists": 3, - "total_private_repos": 3, - "owned_private_repos": 3, - "disk_usage": 83478, - "collaborators": 4, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/teams_3451996-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-3.json similarity index 50% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/teams_3451996-4.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-3.json index ea4f8bc9b7..d78a03330e 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/teams_3451996-4.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-3.json @@ -1,8 +1,8 @@ { - "id": "a8678668-24d0-4f75-b5a3-da720a764dd6", - "name": "teams_3451996", + "id": "a2103423-0c21-4e36-ad8d-6b1fe68ac998", + "name": "organizations_7544739_team_3451996", "request": { - "url": "/teams/3451996", + "url": "/organizations/7544739/team/3451996", "method": "PATCH", "headers": { "Accept": { @@ -13,43 +13,41 @@ { "equalToJson": "{\"description\":\"Updated by API Test\"}", "ignoreArrayOrder": true, - "ignoreExtraElements": true + "ignoreExtraElements": false } ] }, "response": { "status": 200, - "bodyFileName": "teams_3451996-4.json", + "bodyFileName": "organizations_7544739_team_3451996-3.json", "headers": { - "Date": "Tue, 17 Mar 2020 09:12:22 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": "1584436621", + "Date": "Fri, 04 Mar 2022 10:36:58 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"6d0f4cb5dd3a7f45b3267da728da2e09\"", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", + "ETag": "W/\"1a1907d27d49893f26021d89cf6ec10180896113ad0043a05ab9014ca6b7aab1\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4994", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "6", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "F8C7:46E1:A3A32:151F01:5E709476", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" + "X-GitHub-Request-Id": "B9EC:89C5:100B358:10979BB:6221EBCA" } }, - "uuid": "a8678668-24d0-4f75-b5a3-da720a764dd6", + "uuid": "a2103423-0c21-4e36-ad8d-6b1fe68ac998", "persistent": true, - "insertionIndex": 4 + "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/teams_3451996-6.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-5.json similarity index 50% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/teams_3451996-6.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-5.json index 92b99a47d4..05610e5d9e 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/teams_3451996-6.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/organizations_7544739_team_3451996-5.json @@ -1,8 +1,8 @@ { - "id": "de9b6c26-1f63-4cc3-b4f6-6691f9bf180c", - "name": "teams_3451996", + "id": "191cd3f8-d590-4623-be77-3852f86b5393", + "name": "organizations_7544739_team_3451996", "request": { - "url": "/teams/3451996", + "url": "/organizations/7544739/team/3451996", "method": "PATCH", "headers": { "Accept": { @@ -13,43 +13,41 @@ { "equalToJson": "{\"description\":\"Updated by API TestModified\"}", "ignoreArrayOrder": true, - "ignoreExtraElements": true + "ignoreExtraElements": false } ] }, "response": { "status": 200, - "bodyFileName": "teams_3451996-6.json", + "bodyFileName": "organizations_7544739_team_3451996-5.json", "headers": { - "Date": "Tue, 17 Mar 2020 09:12:23 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4441", - "X-RateLimit-Reset": "1584436622", + "Date": "Fri, 04 Mar 2022 10:36:59 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"c406eaf9f146399b1f43691171336958\"", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", + "ETag": "W/\"85bf67d320393093079553ba28458ce27f38ccc9ffacc48ffbb6a4c13fd74282\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4992", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "8", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "F8C7:46E1:A3A43:151F17:5E709476", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" + "X-GitHub-Request-Id": "B9F0:61AD:3EFA107:4011EF6:6221EBCA" } }, - "uuid": "de9b6c26-1f63-4cc3-b4f6-6691f9bf180c", + "uuid": "191cd3f8-d590-4623-be77-3852f86b5393", "persistent": true, - "insertionIndex": 6 + "insertionIndex": 5 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org-1.json similarity index 61% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org-2.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org-1.json index 0b53109658..027b50d39e 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/mappings/orgs_hub4j-test-org-2.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org-1.json @@ -1,5 +1,5 @@ { - "id": "6c1fdaf9-c962-4d41-ab1e-699060ba0ebb", + "id": "ab47197a-1088-406c-b081-6a26a0511641", "name": "orgs_hub4j-test-org", "request": { "url": "/orgs/hub4j-test-org", @@ -12,25 +12,25 @@ }, "response": { "status": 200, - "bodyFileName": "orgs_hub4j-test-org-2.json", + "bodyFileName": "orgs_hub4j-test-org-1.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 19:47:11 GMT", + "Date": "Fri, 04 Mar 2022 10:36:58 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"e9f639cd8af8a2d7ebcaecf51127929bbd54efb425c02083f50c16b565bd5f60\"", + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4992", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "8", + "X-RateLimit-Remaining": "4996", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "4", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -38,10 +38,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D364:55EE:BEE4A7:D2466B:6140FC3F" + "X-GitHub-Request-Id": "B9E8:5E60:65682:AABA0:6221EBC9" } }, - "uuid": "6c1fdaf9-c962-4d41-ab1e-699060ba0ebb", + "uuid": "ab47197a-1088-406c-b081-6a26a0511641", "persistent": true, - "insertionIndex": 2 + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index 18ca584a52..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "3211dfd0-5228-4cdc-aea3-ab67437f3fd4", - "name": "orgs_hub4j-test-org", - "request": { - "url": "/orgs/hub4j-test-org", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org-2.json", - "headers": { - "Date": "Tue, 17 Mar 2020 09:12:21 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4445", - "X-RateLimit-Reset": "1584436621", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"9d4203e09aeffc9b5325c2a5355275b5\"", - "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "F8C7:46E1:A3A21:151ED4:5E709474" - } - }, - "uuid": "3211dfd0-5228-4cdc-aea3-ab67437f3fd4", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json similarity index 59% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json index d8c7a713d6..1af1ed023f 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-2.json @@ -1,5 +1,5 @@ { - "id": "2b66312b-5707-492e-81cd-55b9f49b65f1", + "id": "0bd796e4-62b3-424b-8a3b-46475f2d0f7d", "name": "orgs_hub4j-test-org_teams_dummy-team", "request": { "url": "/orgs/hub4j-test-org/teams/dummy-team", @@ -12,38 +12,39 @@ }, "response": { "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-3.json", + "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-2.json", "headers": { - "Date": "Tue, 17 Mar 2020 09:12:25 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": "1584436622", + "Date": "Fri, 04 Mar 2022 10:36:58 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"b8ddc7cdc32515a463c5e60f9f253dd1\"", - "Last-Modified": "Tue, 17 Mar 2020 09:12:23 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", + "ETag": "W/\"6c916bc74154ac7c596ac003048cdde9182e004e26cb837c8a76fd29a34cd9d2\"", + "Last-Modified": "Fri, 04 Mar 2022 09:25:29 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4995", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "5", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "F8CD:0B9D:AAA25:159552:5E709478" + "X-GitHub-Request-Id": "B9EA:4928:77D635:7C4630:6221EBCA" } }, - "uuid": "2b66312b-5707-492e-81cd-55b9f49b65f1", + "uuid": "0bd796e4-62b3-424b-8a3b-46475f2d0f7d", "persistent": true, "scenarioName": "scenario-1-orgs-hub4j-test-org-teams-dummy-team", "requiredScenarioState": "Started", "newScenarioState": "scenario-1-orgs-hub4j-test-org-teams-dummy-team-2", - "insertionIndex": 3 + "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json deleted file mode 100644 index 0c9dc97e38..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "b239719e-8610-449b-91bd-a35f4cc00424", - "name": "orgs_hub4j-test-org_teams_dummy-team", - "request": { - "url": "/orgs/hub4j-test-org/teams/dummy-team", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-3.json", - "headers": { - "Date": "Tue, 17 Mar 2020 09:12:22 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": "1584436622", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"a3be19ac98441e2833990a01948c5bbd\"", - "Last-Modified": "Tue, 17 Mar 2020 09:06:57 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "F8C7:46E1:A3A28:151EF6:5E709475" - } - }, - "uuid": "b239719e-8610-449b-91bd-a35f4cc00424", - "persistent": true, - "scenarioName": "scenario-1-orgs-hub4j-test-org-teams-dummy-team", - "requiredScenarioState": "Started", - "newScenarioState": "scenario-1-orgs-hub4j-test-org-teams-dummy-team-2", - "insertionIndex": 3 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-5.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json similarity index 59% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-5.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json index 8c45a3a6a9..a72338779e 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-5.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-4.json @@ -1,5 +1,5 @@ { - "id": "32efe61a-4308-46c2-a349-010050ec8685", + "id": "5f8a2db7-2bd0-4cc0-897c-a4aa944744ee", "name": "orgs_hub4j-test-org_teams_dummy-team", "request": { "url": "/orgs/hub4j-test-org/teams/dummy-team", @@ -12,38 +12,39 @@ }, "response": { "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-5.json", + "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-4.json", "headers": { - "Date": "Tue, 17 Mar 2020 09:12:22 GMT", - "Content-Type": "application/json; charset=utf-8", "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4442", - "X-RateLimit-Reset": "1584436621", + "Date": "Fri, 04 Mar 2022 10:36:58 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"75d86f6a186a1443ab68cf325a05da6a\"", - "Last-Modified": "Tue, 17 Mar 2020 09:12:22 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", + "ETag": "W/\"aac3fa1a49aa9d39c4909906b8ac87511de24db83f1fa0ad173e11086dd0a642\"", + "Last-Modified": "Fri, 04 Mar 2022 10:36:58 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4993", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "7", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "F8C7:46E1:A3A3F:151F13:5E709476" + "X-GitHub-Request-Id": "B9EE:4927:3B8E59:3F90E9:6221EBCA" } }, - "uuid": "32efe61a-4308-46c2-a349-010050ec8685", + "uuid": "5f8a2db7-2bd0-4cc0-897c-a4aa944744ee", "persistent": true, "scenarioName": "scenario-1-orgs-hub4j-test-org-teams-dummy-team", "requiredScenarioState": "scenario-1-orgs-hub4j-test-org-teams-dummy-team-2", "newScenarioState": "scenario-1-orgs-hub4j-test-org-teams-dummy-team-3", - "insertionIndex": 5 + "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-7.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-6.json similarity index 58% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-7.json rename to src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-6.json index e9fa5c026e..698926fe78 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-7.json +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-6.json @@ -1,5 +1,5 @@ { - "id": "a73705e3-9d60-41e7-be95-b417ea3eb75d", + "id": "ee4e568b-f0db-4859-8be0-b879a78263fd", "name": "orgs_hub4j-test-org_teams_dummy-team", "request": { "url": "/orgs/hub4j-test-org/teams/dummy-team", @@ -12,37 +12,38 @@ }, "response": { "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-7.json", + "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-6.json", "headers": { - "Date": "Tue, 17 Mar 2020 09:12:26 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": "1584436621", + "Date": "Fri, 04 Mar 2022 10:36:59 GMT", + "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"3760fae93c6e9cb6c970a0e6bdbcaf53\"", - "Last-Modified": "Tue, 17 Mar 2020 09:12:26 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", + "ETag": "W/\"1fbce0cbfea113fefff1877b37929ef1d7cb9c8989a5b223df3e9ea092502191\"", + "Last-Modified": "Fri, 04 Mar 2022 10:36:59 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4991", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "9", + "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "1; mode=block", + "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "F8CD:0B9D:AAA56:159586:5E70947A" + "X-GitHub-Request-Id": "B9F2:361B:1BC7131:1CA203C:6221EBCB" } }, - "uuid": "a73705e3-9d60-41e7-be95-b417ea3eb75d", + "uuid": "ee4e568b-f0db-4859-8be0-b879a78263fd", "persistent": true, "scenarioName": "scenario-1-orgs-hub4j-test-org-teams-dummy-team", "requiredScenarioState": "scenario-1-orgs-hub4j-test-org-teams-dummy-team-3", - "insertionIndex": 7 + "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-7.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-7.json deleted file mode 100644 index c52143a6d5..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/orgs_hub4j-test-org_teams_dummy-team-7.json +++ /dev/null @@ -1,48 +0,0 @@ -{ - "id": "32b16e2a-e453-4e91-9442-08073572a327", - "name": "orgs_hub4j-test-org_teams_dummy-team", - "request": { - "url": "/orgs/hub4j-test-org/teams/dummy-team", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-7.json", - "headers": { - "Date": "Tue, 17 Mar 2020 09:12:23 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4440", - "X-RateLimit-Reset": "1584436621", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"b8ddc7cdc32515a463c5e60f9f253dd1\"", - "Last-Modified": "Tue, 17 Mar 2020 09:12:23 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "F8C7:46E1:A3A4D:151F20:5E709477" - } - }, - "uuid": "32b16e2a-e453-4e91-9442-08073572a327", - "persistent": true, - "scenarioName": "scenario-1-orgs-hub4j-test-org-teams-dummy-team", - "requiredScenarioState": "scenario-1-orgs-hub4j-test-org-teams-dummy-team-3", - "insertionIndex": 7 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/user-1.json deleted file mode 100644 index 9866d8c15e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetDescription/mappings/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "fd7e486f-6713-462f-955f-7fcb8535064e", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Date": "Tue, 17 Mar 2020 09:12:20 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": "1584436621", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"9017502e8d08bc162064261819da0490\"", - "Last-Modified": "Tue, 17 Mar 2020 08:28:47 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "F8C7:46E1:A3A09:151ECC:5E709474" - } - }, - "uuid": "fd7e486f-6713-462f-955f-7fcb8535064e", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/organizations_7544739_team_3947450-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/organizations_7544739_team_3947450-3.json new file mode 100644 index 0000000000..6ed449ee91 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/organizations_7544739_team_3947450-3.json @@ -0,0 +1,49 @@ +{ + "name": "simple-team", + "id": 3947450, + "node_id": "MDQ6VGVhbTM5NDc0NTA=", + "slug": "simple-team", + "description": "A simple team with no children", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3947450", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/simple-team", + "members_url": "https://api.github.com/organizations/7544739/team/3947450/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3947450/repos", + "permission": "pull", + "parent": null, + "created_at": "2020-07-15T20:36:47Z", + "updated_at": "2020-07-15T20:36:47Z", + "members_count": 1, + "repos_count": 0, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/organizations_7544739_team_3947450-5.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/organizations_7544739_team_3947450-5.json new file mode 100644 index 0000000000..1aab6fa758 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/organizations_7544739_team_3947450-5.json @@ -0,0 +1,49 @@ +{ + "name": "simple-team", + "id": 3947450, + "node_id": "MDQ6VGVhbTM5NDc0NTA=", + "slug": "simple-team", + "description": "A simple team with no children", + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/3947450", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/simple-team", + "members_url": "https://api.github.com/organizations/7544739/team/3947450/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3947450/repos", + "permission": "pull", + "parent": null, + "created_at": "2020-07-15T20:36:47Z", + "updated_at": "2022-03-04T10:37:10Z", + "members_count": 1, + "repos_count": 0, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..162ceb1c73 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org-1.json @@ -0,0 +1,55 @@ +{ + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization", + "total_private_repos": 3, + "owned_private_repos": 3, + "private_gists": 0, + "disk_usage": 11979, + "collaborators": 0, + "billing_email": "kk@kohsuke.org", + "default_repository_permission": "none", + "members_can_create_repositories": false, + "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, + "members_can_create_pages": true, + "members_can_fork_private_repositories": false, + "members_can_create_public_pages": true, + "members_can_create_private_pages": true, + "plan": { + "name": "free", + "space": 976562499, + "private_repos": 10000, + "filled_seats": 35, + "seats": 3 + } +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org-2.json deleted file mode 100644 index 8c0ba78353..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-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": 147, - "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": 13, - "seats": 0 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_dummy-team-3.json deleted file mode 100644 index fc7e8b009e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_dummy-team-3.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:12:23Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - }, - "parent": null -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_dummy-team-5.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_dummy-team-5.json deleted file mode 100644 index 8dcf609645..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_dummy-team-5.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "closed", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:12:25Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - }, - "parent": null -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_dummy-team-7.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_dummy-team-7.json deleted file mode 100644 index 654517d694..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_dummy-team-7.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:12:26Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - }, - "parent": null -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_simple-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_simple-team-2.json new file mode 100644 index 0000000000..9d55f361e0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_simple-team-2.json @@ -0,0 +1,49 @@ +{ + "name": "simple-team", + "id": 3947450, + "node_id": "MDQ6VGVhbTM5NDc0NTA=", + "slug": "simple-team", + "description": "A simple team with no children", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3947450", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/simple-team", + "members_url": "https://api.github.com/organizations/7544739/team/3947450/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3947450/repos", + "permission": "pull", + "created_at": "2020-07-15T20:36:47Z", + "updated_at": "2020-07-15T20:36:47Z", + "members_count": 1, + "repos_count": 0, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + }, + "parent": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_simple-team-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_simple-team-4.json new file mode 100644 index 0000000000..9d55f361e0 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_simple-team-4.json @@ -0,0 +1,49 @@ +{ + "name": "simple-team", + "id": 3947450, + "node_id": "MDQ6VGVhbTM5NDc0NTA=", + "slug": "simple-team", + "description": "A simple team with no children", + "privacy": "closed", + "url": "https://api.github.com/organizations/7544739/team/3947450", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/simple-team", + "members_url": "https://api.github.com/organizations/7544739/team/3947450/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3947450/repos", + "permission": "pull", + "created_at": "2020-07-15T20:36:47Z", + "updated_at": "2020-07-15T20:36:47Z", + "members_count": 1, + "repos_count": 0, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + }, + "parent": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_simple-team-6.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_simple-team-6.json new file mode 100644 index 0000000000..78da72e7e5 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/orgs_hub4j-test-org_teams_simple-team-6.json @@ -0,0 +1,49 @@ +{ + "name": "simple-team", + "id": 3947450, + "node_id": "MDQ6VGVhbTM5NDc0NTA=", + "slug": "simple-team", + "description": "A simple team with no children", + "privacy": "secret", + "url": "https://api.github.com/organizations/7544739/team/3947450", + "html_url": "https://github.com/orgs/hub4j-test-org/teams/simple-team", + "members_url": "https://api.github.com/organizations/7544739/team/3947450/members{/member}", + "repositories_url": "https://api.github.com/organizations/7544739/team/3947450/repos", + "permission": "pull", + "created_at": "2020-07-15T20:36:47Z", + "updated_at": "2022-03-04T10:37:10Z", + "members_count": 1, + "repos_count": 0, + "organization": { + "login": "hub4j-test-org", + "id": 7544739, + "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", + "url": "https://api.github.com/orgs/hub4j-test-org", + "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", + "events_url": "https://api.github.com/orgs/hub4j-test-org/events", + "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", + "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", + "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", + "public_members_url": "https://api.github.com/orgs/hub4j-test-org/public_members{/member}", + "avatar_url": "https://avatars.githubusercontent.com/u/7544739?v=4", + "description": "Hub4j Test Org Description (this could be null or blank too)", + "name": "Hub4j Test Org Name (this could be null or blank too)", + "company": null, + "blog": "https://hub4j.url.io/could/be/null", + "location": "Hub4j Test Org Location (this could be null or blank too)", + "email": "hub4jtestorgemail@could.be.null.com", + "twitter_username": null, + "is_verified": false, + "has_organization_projects": true, + "has_repository_projects": true, + "public_repos": 49, + "public_gists": 0, + "followers": 0, + "following": 0, + "html_url": "https://github.com/hub4j-test-org", + "created_at": "2014-05-10T19:39:11Z", + "updated_at": "2020-06-04T05:56:10Z", + "type": "Organization" + }, + "parent": null +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/teams_3451996-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/teams_3451996-4.json deleted file mode 100644 index c1587c5ba1..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/teams_3451996-4.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "closed", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "parent": null, - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:12:25Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/teams_3451996-6.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/teams_3451996-6.json deleted file mode 100644 index c4959a0b4b..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/teams_3451996-6.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name": "dummy-team", - "id": 3451996, - "node_id": "MDQ6VGVhbTM0NTE5OTY=", - "slug": "dummy-team", - "description": "Updated by API TestModified", - "privacy": "secret", - "url": "https://api.github.com/organizations/7544739/team/3451996", - "html_url": "https://github.com/orgs/hub4j-test-org/teams/dummy-team", - "members_url": "https://api.github.com/organizations/7544739/team/3451996/members{/member}", - "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", - "permission": "pull", - "parent": null, - "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-03-17T09:12:26Z", - "members_count": 1, - "repos_count": 1, - "organization": { - "login": "hub4j-test-org", - "id": 7544739, - "node_id": "MDEyOk9yZ2FuaXphdGlvbjc1NDQ3Mzk=", - "url": "https://api.github.com/orgs/hub4j-test-org", - "repos_url": "https://api.github.com/orgs/hub4j-test-org/repos", - "events_url": "https://api.github.com/orgs/hub4j-test-org/events", - "hooks_url": "https://api.github.com/orgs/hub4j-test-org/hooks", - "issues_url": "https://api.github.com/orgs/hub4j-test-org/issues", - "members_url": "https://api.github.com/orgs/hub4j-test-org/members{/member}", - "public_members_url": "https://api.github.com/orgs/hub4j-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": 26, - "public_gists": 0, - "followers": 0, - "following": 0, - "html_url": "https://github.com/hub4j-test-org", - "created_at": "2014-05-10T19:39:11Z", - "updated_at": "2015-04-20T00:42:30Z", - "type": "Organization" - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/user-1.json deleted file mode 100644 index 3ed6e3f008..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/__files/user-1.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "login": "ingwarsw", - "id": 5390156, - "node_id": "MDQ6VXNlcjUzOTAxNTY=", - "avatar_url": "https://avatars2.githubusercontent.com/u/5390156?v=4", - "gravatar_id": "", - "url": "https://api.github.com/users/ingwarsw", - "html_url": "https://github.com/ingwarsw", - "followers_url": "https://api.github.com/users/ingwarsw/followers", - "following_url": "https://api.github.com/users/ingwarsw/following{/other_user}", - "gists_url": "https://api.github.com/users/ingwarsw/gists{/gist_id}", - "starred_url": "https://api.github.com/users/ingwarsw/starred{/owner}{/repo}", - "subscriptions_url": "https://api.github.com/users/ingwarsw/subscriptions", - "organizations_url": "https://api.github.com/users/ingwarsw/orgs", - "repos_url": "https://api.github.com/users/ingwarsw/repos", - "events_url": "https://api.github.com/users/ingwarsw/events{/privacy}", - "received_events_url": "https://api.github.com/users/ingwarsw/received_events", - "type": "User", - "site_admin": false, - "name": "Karol Lassak", - "company": "Ingwar & co.", - "blog": "ingwar.eu.org", - "location": "Warsaw, Poland", - "email": "ingwar@ingwar.eu.org", - "hireable": true, - "bio": null, - "public_repos": 38, - "public_gists": 0, - "followers": 14, - "following": 3, - "created_at": "2013-09-05T09:58:28Z", - "updated_at": "2020-03-17T08:28:47Z", - "private_gists": 3, - "total_private_repos": 3, - "owned_private_repos": 3, - "disk_usage": 83478, - "collaborators": 4, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/organizations_7544739_team_3947450-3.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/organizations_7544739_team_3947450-3.json new file mode 100644 index 0000000000..0323d9dbf7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/organizations_7544739_team_3947450-3.json @@ -0,0 +1,53 @@ +{ + "id": "d0469cd1-08cd-4b13-b06f-27f8fab03e0b", + "name": "organizations_7544739_team_3947450", + "request": { + "url": "/organizations/7544739/team/3947450", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"privacy\":\"closed\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_3947450-3.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"c63013cc2152f240c7775e0d9285aa730646793737be73502c5b6e48224fa933\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4976", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "24", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA12:2658:502A26:556875:6221EBD5" + } + }, + "uuid": "d0469cd1-08cd-4b13-b06f-27f8fab03e0b", + "persistent": true, + "insertionIndex": 3 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/organizations_7544739_team_3947450-5.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/organizations_7544739_team_3947450-5.json new file mode 100644 index 0000000000..7256ceb015 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/organizations_7544739_team_3947450-5.json @@ -0,0 +1,53 @@ +{ + "id": "d930c038-94bb-4d5c-8e12-8c0a8dc00f54", + "name": "organizations_7544739_team_3947450", + "request": { + "url": "/organizations/7544739/team/3947450", + "method": "PATCH", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + }, + "bodyPatterns": [ + { + "equalToJson": "{\"privacy\":\"secret\"}", + "ignoreArrayOrder": true, + "ignoreExtraElements": false + } + ] + }, + "response": { + "status": 200, + "bodyFileName": "organizations_7544739_team_3947450-5.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:10 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"bfd032c0800bc4b64b3d464998b5e8c12dc8ab88bffb0df469de7e534e39d5de\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, repo", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4974", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "26", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA16:9B1E:D2AE07:DEA0E4:6221EBD6" + } + }, + "uuid": "d930c038-94bb-4d5c-8e12-8c0a8dc00f54", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org-1.json new file mode 100644 index 0000000000..35112a276b --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org-1.json @@ -0,0 +1,47 @@ +{ + "id": "4bac400d-e487-41e5-b00b-72d5cabfdf6d", + "name": "orgs_hub4j-test-org", + "request": { + "url": "/orgs/hub4j-test-org", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org-1.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", + "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4978", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "22", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA0E:5E64:11640DC:11C77C6:6221EBD4" + } + }, + "uuid": "4bac400d-e487-41e5-b00b-72d5cabfdf6d", + "persistent": true, + "insertionIndex": 1 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org-2.json deleted file mode 100644 index d2f415d87e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "daa5182f-9078-4e4d-ab7e-3b9c54383a8c", - "name": "orgs_hub4j-test-org", - "request": { - "url": "/orgs/hub4j-test-org", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org-2.json", - "headers": { - "Date": "Tue, 17 Mar 2020 09:12:24 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": "1584436621", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"9d4203e09aeffc9b5325c2a5355275b5\"", - "Last-Modified": "Mon, 20 Apr 2015 00:42:30 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "F8CD:0B9D:AAA22:159549:5E709478" - } - }, - "uuid": "daa5182f-9078-4e4d-ab7e-3b9c54383a8c", - "persistent": true, - "insertionIndex": 2 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-5.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-5.json deleted file mode 100644 index 65dab985d6..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_dummy-team-5.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "id": "47d338fd-8730-4953-94f1-2261a3d6e6a3", - "name": "orgs_hub4j-test-org_teams_dummy-team", - "request": { - "url": "/orgs/hub4j-test-org/teams/dummy-team", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-5.json", - "headers": { - "Date": "Tue, 17 Mar 2020 09:12:26 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": "1584436622", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"619dbe2e4e0378bda45903a72aae4856\"", - "Last-Modified": "Tue, 17 Mar 2020 09:12:25 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "F8CD:0B9D:AAA3D:15956A:5E709479" - } - }, - "uuid": "47d338fd-8730-4953-94f1-2261a3d6e6a3", - "persistent": true, - "scenarioName": "scenario-1-orgs-hub4j-test-org-teams-dummy-team", - "requiredScenarioState": "scenario-1-orgs-hub4j-test-org-teams-dummy-team-2", - "newScenarioState": "scenario-1-orgs-hub4j-test-org-teams-dummy-team-3", - "insertionIndex": 5 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_simple-team-2.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_simple-team-2.json new file mode 100644 index 0000000000..10eb2338f7 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_simple-team-2.json @@ -0,0 +1,50 @@ +{ + "id": "b4c6aebf-e2f1-404a-a4e3-9b2dcccf9d71", + "name": "orgs_hub4j-test-org_teams_simple-team", + "request": { + "url": "/orgs/hub4j-test-org/teams/simple-team", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org_teams_simple-team-2.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:09 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8557055a36bacde4775204556e023a2d33be12012cda6cf2491eb772c8d60ceb\"", + "Last-Modified": "Wed, 15 Jul 2020 20:36:47 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4977", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "23", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA10:5E64:116428C:11C797D:6221EBD5" + } + }, + "uuid": "b4c6aebf-e2f1-404a-a4e3-9b2dcccf9d71", + "persistent": true, + "scenarioName": "scenario-1-orgs-hub4j-test-org-teams-simple-team", + "requiredScenarioState": "Started", + "newScenarioState": "scenario-1-orgs-hub4j-test-org-teams-simple-team-2", + "insertionIndex": 2 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_simple-team-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_simple-team-4.json new file mode 100644 index 0000000000..134fe18070 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_simple-team-4.json @@ -0,0 +1,50 @@ +{ + "id": "cb25290c-21dc-4c5d-814e-d89aed044d9e", + "name": "orgs_hub4j-test-org_teams_simple-team", + "request": { + "url": "/orgs/hub4j-test-org/teams/simple-team", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org_teams_simple-team-4.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:10 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"8557055a36bacde4775204556e023a2d33be12012cda6cf2491eb772c8d60ceb\"", + "Last-Modified": "Wed, 15 Jul 2020 20:36:47 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4975", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "25", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA14:4A7E:1C57763:1D3198A:6221EBD5" + } + }, + "uuid": "cb25290c-21dc-4c5d-814e-d89aed044d9e", + "persistent": true, + "scenarioName": "scenario-1-orgs-hub4j-test-org-teams-simple-team", + "requiredScenarioState": "scenario-1-orgs-hub4j-test-org-teams-simple-team-2", + "newScenarioState": "scenario-1-orgs-hub4j-test-org-teams-simple-team-3", + "insertionIndex": 4 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_simple-team-6.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_simple-team-6.json new file mode 100644 index 0000000000..d4e6d22ff9 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/orgs_hub4j-test-org_teams_simple-team-6.json @@ -0,0 +1,49 @@ +{ + "id": "881b6f82-45fd-49f1-b3fd-d9d071b16e03", + "name": "orgs_hub4j-test-org_teams_simple-team", + "request": { + "url": "/orgs/hub4j-test-org/teams/simple-team", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "bodyFileName": "orgs_hub4j-test-org_teams_simple-team-6.json", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 10:37:10 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"701080d80d534be570682a839c5e1f2ffc5d55b41fc345b11c0fe3d5bb0940d5\"", + "Last-Modified": "Fri, 04 Mar 2022 10:37:10 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4973", + "X-RateLimit-Reset": "1646393817", + "X-RateLimit-Used": "27", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA18:4A80:4437ACF:4558C20:6221EBD6" + } + }, + "uuid": "881b6f82-45fd-49f1-b3fd-d9d071b16e03", + "persistent": true, + "scenarioName": "scenario-1-orgs-hub4j-test-org-teams-simple-team", + "requiredScenarioState": "scenario-1-orgs-hub4j-test-org-teams-simple-team-3", + "insertionIndex": 6 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/teams_3451996-4.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/teams_3451996-4.json deleted file mode 100644 index 3a72797042..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/teams_3451996-4.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "70263be8-4b8a-4f60-9e0a-da31aae7519f", - "name": "teams_3451996", - "request": { - "url": "/teams/3451996", - "method": "PATCH", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"privacy\":\"closed\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": true - } - ] - }, - "response": { - "status": 200, - "bodyFileName": "teams_3451996-4.json", - "headers": { - "Date": "Tue, 17 Mar 2020 09:12:25 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": "1584436621", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"2fe6e6489fcf0675c858e5ea4b20b84d\"", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "admin:org, repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", - "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": "F8CD:0B9D:AAA2A:159557:5E709479", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "70263be8-4b8a-4f60-9e0a-da31aae7519f", - "persistent": true, - "insertionIndex": 4 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/teams_3451996-6.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/teams_3451996-6.json deleted file mode 100644 index c51807399a..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/teams_3451996-6.json +++ /dev/null @@ -1,55 +0,0 @@ -{ - "id": "51846d5d-d6ae-4a92-b608-ecaa62c3b73b", - "name": "teams_3451996", - "request": { - "url": "/teams/3451996", - "method": "PATCH", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - }, - "bodyPatterns": [ - { - "equalToJson": "{\"privacy\":\"secret\"}", - "ignoreArrayOrder": true, - "ignoreExtraElements": true - } - ] - }, - "response": { - "status": 200, - "bodyFileName": "teams_3451996-6.json", - "headers": { - "Date": "Tue, 17 Mar 2020 09:12:26 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": "1584436621", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"6921bb0eae21f588783eaca69c02f0e0\"", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "admin:org, repo", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", - "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": "F8CD:0B9D:AAA42:159570:5E70947A", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "51846d5d-d6ae-4a92-b608-ecaa62c3b73b", - "persistent": true, - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/user-1.json deleted file mode 100644 index d5181af9a0..0000000000 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/testSetPrivacy/mappings/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "id": "ba4c373b-e7b2-498a-adc1-e63cacdd50cb", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Date": "Tue, 17 Mar 2020 09:12:24 GMT", - "Content-Type": "application/json; charset=utf-8", - "Server": "GitHub.com", - "Status": "200 OK", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4439", - "X-RateLimit-Reset": "1584436621", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"9017502e8d08bc162064261819da0490\"", - "Last-Modified": "Tue, 17 Mar 2020 08:28:47 GMT", - "X-OAuth-Scopes": "admin:org, admin:public_key, admin:repo_hook, notifications, repo, user", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "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": "F8CD:0B9D:AAA18:159545:5E709478" - } - }, - "uuid": "ba4c373b-e7b2-498a-adc1-e63cacdd50cb", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-8.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-7.json similarity index 61% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-8.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-7.json index dcf75d9f48..6eee4c6f03 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-8.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-7.json @@ -21,24 +21,5 @@ "html_url": "https://github.com/hub4j", "created_at": "2019-09-04T18:12:34Z", "updated_at": "2020-05-08T21:26:19Z", - "type": "Organization", - "total_private_repos": 0, - "owned_private_repos": 0, - "private_gists": 0, - "disk_usage": 36238, - "collaborators": 0, - "billing_email": "bitwiseman@gmail.com", - "default_repository_permission": "read", - "members_can_create_repositories": true, - "two_factor_requirement_enabled": false, - "members_can_create_pages": true, - "members_can_create_public_pages": true, - "members_can_create_private_pages": true, - "plan": { - "name": "free", - "space": 976562499, - "private_repos": 10000, - "filled_seats": 2, - "seats": 0 - } + "type": "Organization" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-2.json similarity index 83% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org-2.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-2.json index 6a53d8b196..162ceb1c73 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/orgs_hub4j-test-org-2.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org-2.json @@ -20,7 +20,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 19, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, @@ -28,8 +28,8 @@ "created_at": "2014-05-10T19:39:11Z", "updated_at": "2020-06-04T05:56:10Z", "type": "Organization", - "total_private_repos": 2, - "owned_private_repos": 2, + "total_private_repos": 3, + "owned_private_repos": 3, "private_gists": 0, "disk_usage": 11979, "collaborators": 0, @@ -37,14 +37,19 @@ "default_repository_permission": "none", "members_can_create_repositories": false, "two_factor_requirement_enabled": false, + "members_allowed_repository_creation_type": "none", + "members_can_create_public_repositories": false, + "members_can_create_private_repositories": false, + "members_can_create_internal_repositories": false, "members_can_create_pages": true, + "members_can_fork_private_repositories": false, "members_can_create_public_pages": true, "members_can_create_private_pages": true, "plan": { "name": "free", "space": 976562499, "private_repos": 10000, - "filled_seats": 26, + "filled_seats": 35, "seats": 3 } } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-3.json similarity index 96% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org_teams_dummy-team-3.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-3.json index e9db7ba861..ce21071d54 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/__files/orgs_hub4j-test-org_teams_dummy-team-3.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/orgs_hub4j-test-org_teams_dummy-team-3.json @@ -11,7 +11,7 @@ "repositories_url": "https://api.github.com/organizations/7544739/team/3451996/repos", "permission": "pull", "created_at": "2019-10-03T21:46:12Z", - "updated_at": "2020-06-02T19:31:50Z", + "updated_at": "2022-03-04T10:36:59Z", "members_count": 1, "repos_count": 1, "organization": { @@ -36,7 +36,7 @@ "is_verified": false, "has_organization_projects": true, "has_repository_projects": true, - "public_repos": 19, + "public_repos": 49, "public_gists": 0, "followers": 0, "following": 0, diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/user-1.json deleted file mode 100644 index ad8cfa6f83..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/user-1.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars.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": null, - "twitter_username": "bitwiseman", - "public_repos": 212, - "public_gists": 8, - "followers": 199, - "following": 12, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2021-09-14T19:50:18Z", - "private_gists": 19, - "total_private_repos": 22, - "owned_private_repos": 0, - "disk_usage": 33700, - "collaborators": 0, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/user-1.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_bitwiseman-1.json similarity index 78% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/user-1.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_bitwiseman-1.json index 7a16e7194b..d27e3a6438 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/listMembers/__files/user-1.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_bitwiseman-1.json @@ -25,22 +25,10 @@ "hireable": null, "bio": null, "twitter_username": "bitwiseman", - "public_repos": 212, + "public_repos": 209, "public_gists": 8, - "followers": 199, + "followers": 211, "following": 12, "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2021-09-14T16:32:13Z", - "private_gists": 19, - "total_private_repos": 22, - "owned_private_repos": 0, - "disk_usage": 33700, - "collaborators": 0, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } + "updated_at": "2022-01-29T06:17:50Z" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_bitwiseman-2.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_bitwiseman-2.json deleted file mode 100644 index ad8cfa6f83..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_bitwiseman-2.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "login": "bitwiseman", - "id": 1958953, - "node_id": "MDQ6VXNlcjE5NTg5NTM=", - "avatar_url": "https://avatars.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": null, - "twitter_username": "bitwiseman", - "public_repos": 212, - "public_gists": 8, - "followers": 199, - "following": 12, - "created_at": "2012-07-11T20:38:33Z", - "updated_at": "2021-09-14T19:50:18Z", - "private_gists": 19, - "total_private_repos": 22, - "owned_private_repos": 0, - "disk_usage": 33700, - "collaborators": 0, - "two_factor_authentication": true, - "plan": { - "name": "free", - "space": 976562499, - "collaborators": 0, - "private_repos": 10000 - } -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_rtyler-11.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_rtyler-11.json index 1554147ee7..49d162cfa1 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_rtyler-11.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/__files/users_rtyler-11.json @@ -27,8 +27,8 @@ "twitter_username": "agentdero", "public_repos": 269, "public_gists": 482, - "followers": 453, + "followers": 470, "following": 45, "created_at": "2008-09-28T07:28:42Z", - "updated_at": "2021-08-13T17:27:38Z" + "updated_at": "2022-01-03T20:12:07Z" } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_54909825_public_members_bitwiseman-9.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_54909825_public_members_bitwiseman-9.json new file mode 100644 index 0000000000..ac346f79f6 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_54909825_public_members_bitwiseman-9.json @@ -0,0 +1,39 @@ +{ + "id": "f094c10b-292e-41df-89ec-7c70d46259b3", + "name": "organizations_54909825_public_members_bitwiseman", + "request": { + "url": "/organizations/54909825/public_members/bitwiseman", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 204, + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 13:41:56 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4991", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "9", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "BA76:361D:305BEF8:316AA16:62221723" + } + }, + "uuid": "f094c10b-292e-41df-89ec-7c70d46259b3", + "persistent": true, + "insertionIndex": 9 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_54909825_public_members_rtyler-13.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_54909825_public_members_rtyler-13.json new file mode 100644 index 0000000000..32170e3d75 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_54909825_public_members_rtyler-13.json @@ -0,0 +1,41 @@ +{ + "id": "a84c8d39-7efa-4ec3-8560-1b6a0c7d4cb8", + "name": "organizations_54909825_public_members_rtyler", + "request": { + "url": "/organizations/54909825/public_members/rtyler", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 404, + "body": "{\"message\":\"User does not exist or is not a public member of the organization\",\"documentation_url\":\"https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 13:41:56 GMT", + "Content-Type": "application/json; charset=utf-8", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4987", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "13", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "BA7E:47AD:1F3EC5:1FDB78:62221724" + } + }, + "uuid": "a84c8d39-7efa-4ec3-8560-1b6a0c7d4cb8", + "persistent": true, + "insertionIndex": 13 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_7544739_team_3451996_memberships_bitwiseman-5.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_7544739_team_3451996_memberships_bitwiseman-5.json new file mode 100644 index 0000000000..f9ffc7a9c8 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_7544739_team_3451996_memberships_bitwiseman-5.json @@ -0,0 +1,46 @@ +{ + "id": "0b2d3815-7a6b-4d8f-9c51-2d20a152f39e", + "name": "organizations_7544739_team_3451996_memberships_bitwiseman", + "request": { + "url": "/organizations/7544739/team/3451996/memberships/bitwiseman", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 200, + "body": "{\"state\":\"active\",\"role\":\"maintainer\",\"url\":\"https://api.github.com/organizations/7544739/team/3451996/memberships/bitwiseman\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 13:41:55 GMT", + "Content-Type": "application/json; charset=utf-8", + "Cache-Control": "private, max-age=60, s-maxage=60", + "Vary": [ + "Accept, Authorization, Cookie, X-GitHub-OTP", + "Accept-Encoding, Accept, X-Requested-With" + ], + "ETag": "W/\"2614a5da49e2c1b0d9e34e71e36009af7296274a514a8424e29a1b94ce126f7e\"", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4995", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "5", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "X-GitHub-Request-Id": "BA6E:58CB:4339B5:44DBC9:62221723" + } + }, + "uuid": "0b2d3815-7a6b-4d8f-9c51-2d20a152f39e", + "persistent": true, + "insertionIndex": 5 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_7544739_team_3451996_memberships_rtyler-14.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_7544739_team_3451996_memberships_rtyler-14.json new file mode 100644 index 0000000000..f9dc52ae97 --- /dev/null +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/organizations_7544739_team_3451996_memberships_rtyler-14.json @@ -0,0 +1,41 @@ +{ + "id": "bd6dfae1-5ac4-4fca-a407-ba9086bcab40", + "name": "organizations_7544739_team_3451996_memberships_rtyler", + "request": { + "url": "/organizations/7544739/team/3451996/memberships/rtyler", + "method": "GET", + "headers": { + "Accept": { + "equalTo": "application/vnd.github.v3+json" + } + } + }, + "response": { + "status": 404, + "body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest/reference/teams#get-team-membership-for-a-user\"}", + "headers": { + "Server": "GitHub.com", + "Date": "Fri, 04 Mar 2022 13:41:56 GMT", + "Content-Type": "application/json; charset=utf-8", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", + "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, write:org", + "X-GitHub-Media-Type": "github.v3; format=json", + "X-RateLimit-Limit": "5000", + "X-RateLimit-Remaining": "4986", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "14", + "X-RateLimit-Resource": "core", + "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", + "X-Frame-Options": "deny", + "X-Content-Type-Options": "nosniff", + "X-XSS-Protection": "0", + "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", + "Content-Security-Policy": "default-src 'none'", + "Vary": "Accept-Encoding, Accept, X-Requested-With", + "X-GitHub-Request-Id": "BA80:265F:217410B:220A49D:62221724" + } + }, + "uuid": "bd6dfae1-5ac4-4fca-a407-ba9086bcab40", + "persistent": true, + "insertionIndex": 14 +} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-8.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-7.json similarity index 61% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-8.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-7.json index d5744670f0..1d5e0173dd 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-8.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-7.json @@ -1,5 +1,5 @@ { - "id": "dffd25a0-2986-464f-934c-8960453b1f73", + "id": "d2d9fa46-8384-4bb0-9d1e-13398b8ada24", "name": "orgs_hub4j", "request": { "url": "/orgs/hub4j", @@ -12,25 +12,25 @@ }, "response": { "status": 200, - "bodyFileName": "orgs_hub4j-8.json", + "bodyFileName": "orgs_hub4j-7.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:23 GMT", + "Date": "Fri, 04 Mar 2022 13:41:55 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"b8ca318740d0cc811ad497e22907a727aed54546f34125199d50d0284f375fc8\"", + "ETag": "W/\"a2383eb32b1c9263b257375e84968ea30c59702caa5b8d9c7ed39f748d58f1f4\"", "Last-Modified": "Fri, 08 May 2020 21:26:19 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4938", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "62", + "X-RateLimit-Remaining": "4993", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "7", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -38,10 +38,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D370:572E:4903D:4E479:61410533" + "X-GitHub-Request-Id": "BA72:B362:38949F6:39A534D:62221723" } }, - "uuid": "dffd25a0-2986-464f-934c-8960453b1f73", + "uuid": "d2d9fa46-8384-4bb0-9d1e-13398b8ada24", "persistent": true, - "insertionIndex": 8 + "insertionIndex": 7 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org-2.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-2.json similarity index 65% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org-2.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-2.json index 71249f05d6..904421c495 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org-2.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org-2.json @@ -1,5 +1,5 @@ { - "id": "2696f538-0497-4f75-a200-4254e4ffc208", + "id": "4a2bbedd-c70a-4882-9b7c-e5bb7bf60c48", "name": "orgs_hub4j-test-org", "request": { "url": "/orgs/hub4j-test-org", @@ -15,22 +15,22 @@ "bodyFileName": "orgs_hub4j-test-org-2.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 19:55:24 GMT", + "Date": "Fri, 04 Mar 2022 13:41:54 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"e9f639cd8af8a2d7ebcaecf51127929bbd54efb425c02083f50c16b565bd5f60\"", + "ETag": "W/\"861b38147d37bd59e507771e76ec048def20dd6e5ac5b75aceb01c8b9f0ef4f5\"", "Last-Modified": "Thu, 04 Jun 2020 05:56:10 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4982", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "18", + "X-RateLimit-Remaining": "4998", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "2", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -38,10 +38,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D39E:601D:16E234D:184EC7F:6140FE2C" + "X-GitHub-Request-Id": "BA68:DC14:1F163DB:1FFFAFA:62221722" } }, - "uuid": "2696f538-0497-4f75-a200-4254e4ffc208", + "uuid": "4a2bbedd-c70a-4882-9b7c-e5bb7bf60c48", "persistent": true, "insertionIndex": 2 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_members_bitwiseman-5.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_members_bitwiseman-4.json similarity index 61% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_members_bitwiseman-5.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_members_bitwiseman-4.json index 0d9962f250..f48189b545 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_members_bitwiseman-5.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_members_bitwiseman-4.json @@ -1,5 +1,5 @@ { - "id": "d0efe5a6-6c5a-441a-a48b-8b8793ecdead", + "id": "c52ad746-c978-4aed-8537-4f2d4eba7e3b", "name": "orgs_hub4j-test-org_members_bitwiseman", "request": { "url": "/orgs/hub4j-test-org/members/bitwiseman", @@ -14,14 +14,14 @@ "status": 204, "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:23 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "Date": "Fri, 04 Mar 2022 13:41:55 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "read:org, repo, user", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4941", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "59", + "X-RateLimit-Remaining": "4996", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "4", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -30,10 +30,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D36A:0480:1C5CC6A:1DF09C3:61410533" + "X-GitHub-Request-Id": "BA6C:58CC:666E80:685C60:62221722" } }, - "uuid": "d0efe5a6-6c5a-441a-a48b-8b8793ecdead", + "uuid": "c52ad746-c978-4aed-8537-4f2d4eba7e3b", "persistent": true, - "insertionIndex": 5 + "insertionIndex": 4 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_public_members_bitwiseman-7.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_public_members_bitwiseman-6.json similarity index 67% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_public_members_bitwiseman-7.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_public_members_bitwiseman-6.json index b1e810d4b9..72b535353e 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_public_members_bitwiseman-7.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_public_members_bitwiseman-6.json @@ -1,5 +1,5 @@ { - "id": "538fdac1-31b1-4176-95eb-d5c44478dcc0", + "id": "130c8bda-6623-4c8d-b0db-9e307f1e69ab", "name": "orgs_hub4j-test-org_public_members_bitwiseman", "request": { "url": "/orgs/hub4j-test-org/public_members/bitwiseman", @@ -15,15 +15,15 @@ "body": "{\"message\":\"User does not exist or is not a public member of the organization\",\"documentation_url\":\"https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user\"}", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:23 GMT", + "Date": "Fri, 04 Mar 2022 13:41:55 GMT", "Content-Type": "application/json; charset=utf-8", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4939", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "61", + "X-RateLimit-Remaining": "4994", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "6", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -32,10 +32,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D36E:6ED0:2BDC3A:2E6F51:61410533" + "X-GitHub-Request-Id": "BA70:361E:476368B:4893072:62221723" } }, - "uuid": "538fdac1-31b1-4176-95eb-d5c44478dcc0", + "uuid": "130c8bda-6623-4c8d-b0db-9e307f1e69ab", "persistent": true, - "insertionIndex": 7 + "insertionIndex": 6 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json similarity index 63% rename from src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json index 3e1120ca8a..f5861a3391 100644 --- a/src/test/resources/org/kohsuke/github/GHTeamTest/wiremock/getMembers/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j-test-org_teams_dummy-team-3.json @@ -1,5 +1,5 @@ { - "id": "05dbfe20-3e15-4b20-9ee0-993b2f42d5c3", + "id": "cf7c64d3-d7db-442a-b236-9e8996eb67cc", "name": "orgs_hub4j-test-org_teams_dummy-team", "request": { "url": "/orgs/hub4j-test-org/teams/dummy-team", @@ -15,22 +15,22 @@ "bodyFileName": "orgs_hub4j-test-org_teams_dummy-team-3.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 19:55:24 GMT", + "Date": "Fri, 04 Mar 2022 13:41:54 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"f0e418884b0c8c4babcb289570d61a4fc86d2bb61a1be10052f1c85533ead538\"", - "Last-Modified": "Tue, 02 Jun 2020 19:31:50 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "ETag": "W/\"1fbce0cbfea113fefff1877b37929ef1d7cb9c8989a5b223df3e9ea092502191\"", + "Last-Modified": "Fri, 04 Mar 2022 10:36:59 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4981", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "19", + "X-RateLimit-Remaining": "4997", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "3", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -38,10 +38,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D3A0:047F:1629EA5:1795993:6140FE2C" + "X-GitHub-Request-Id": "BA6A:03D5:49F4165:4B23E06:62221722" } }, - "uuid": "05dbfe20-3e15-4b20-9ee0-993b2f42d5c3", + "uuid": "cf7c64d3-d7db-442a-b236-9e8996eb67cc", "persistent": true, "insertionIndex": 3 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_bitwiseman-9.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_bitwiseman-8.json similarity index 55% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_bitwiseman-9.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_bitwiseman-8.json index a164aafb63..2aec5d55a6 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_bitwiseman-9.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_bitwiseman-8.json @@ -1,5 +1,5 @@ { - "id": "54eb94e7-2afb-41ef-84c5-b7a62a818f88", + "id": "250f3756-db0e-4cec-99de-0500d80430f0", "name": "orgs_hub4j_members_bitwiseman", "request": { "url": "/orgs/hub4j/members/bitwiseman", @@ -11,17 +11,15 @@ } }, "response": { - "status": 204, + "status": 302, "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:24 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "read:org, repo, user", - "X-GitHub-Media-Type": "unknown, github.v3", + "Date": "Fri, 04 Mar 2022 13:41:55 GMT", + "Content-Type": "text/html;charset=utf-8", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4937", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "63", + "X-RateLimit-Remaining": "4992", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "8", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -30,10 +28,11 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D372:0480:1C5CCCD:1DF0A29:61410533" + "X-GitHub-Request-Id": "BA74:361E:4763743:489312C:62221723", + "Location": "https://api.github.com/organizations/54909825/public_members/bitwiseman" } }, - "uuid": "54eb94e7-2afb-41ef-84c5-b7a62a818f88", + "uuid": "250f3756-db0e-4cec-99de-0500d80430f0", "persistent": true, - "insertionIndex": 9 + "insertionIndex": 8 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_rtyler-12.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_rtyler-12.json index c5448c6d2f..829e3c06c4 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_rtyler-12.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_members_rtyler-12.json @@ -1,5 +1,5 @@ { - "id": "7b152bb5-80eb-4f36-b353-4963482d598a", + "id": "0bda5021-7ed4-4d13-9154-5c186eb81a5d", "name": "orgs_hub4j_members_rtyler", "request": { "url": "/orgs/hub4j/members/rtyler", @@ -11,19 +11,15 @@ } }, "response": { - "status": 404, - "body": "{\"message\":\"User does not exist or is not a member of the organization\",\"documentation_url\":\"https://docs.github.com/rest/reference/orgs#check-organization-membership-for-a-user\"}", + "status": 302, "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:24 GMT", - "Content-Type": "application/json; charset=utf-8", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "read:org, repo, user", - "X-GitHub-Media-Type": "unknown, github.v3", + "Date": "Fri, 04 Mar 2022 13:41:56 GMT", + "Content-Type": "text/html;charset=utf-8", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4934", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "66", + "X-RateLimit-Remaining": "4988", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "12", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -32,10 +28,11 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D378:572E:4906F:4E4A9:61410534" + "X-GitHub-Request-Id": "BA7C:B363:4D24892:4E610EC:62221724", + "Location": "https://api.github.com/organizations/54909825/public_members/rtyler" } }, - "uuid": "7b152bb5-80eb-4f36-b353-4963482d598a", + "uuid": "0bda5021-7ed4-4d13-9154-5c186eb81a5d", "persistent": true, "insertionIndex": 12 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_bitwiseman-10.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_bitwiseman-10.json index 786a52585c..25972202b2 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_bitwiseman-10.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_bitwiseman-10.json @@ -1,5 +1,5 @@ { - "id": "b6e26132-39c4-4d39-9747-88d23d6437c0", + "id": "094f35e6-369d-4287-8e83-16c7217400f4", "name": "orgs_hub4j_public_members_bitwiseman", "request": { "url": "/orgs/hub4j/public_members/bitwiseman", @@ -14,14 +14,14 @@ "status": 204, "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:24 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "Date": "Fri, 04 Mar 2022 13:41:56 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4936", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "64", + "X-RateLimit-Remaining": "4990", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "10", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -30,10 +30,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D374:26AE:194521A:1AB474E:61410534" + "X-GitHub-Request-Id": "BA78:03D4:32B8AF5:33C35A9:62221724" } }, - "uuid": "b6e26132-39c4-4d39-9747-88d23d6437c0", + "uuid": "094f35e6-369d-4287-8e83-16c7217400f4", "persistent": true, "insertionIndex": 10 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_rtyler-14.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_rtyler-15.json similarity index 66% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_rtyler-14.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_rtyler-15.json index 5585619de6..3c8430e160 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_rtyler-14.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/orgs_hub4j_public_members_rtyler-15.json @@ -1,5 +1,5 @@ { - "id": "7488b850-7e4a-434a-9845-f70a0a34c8b6", + "id": "6fbabd7c-2d5d-41c8-ab59-4e84dbe2a23d", "name": "orgs_hub4j_public_members_rtyler", "request": { "url": "/orgs/hub4j/public_members/rtyler", @@ -15,15 +15,15 @@ "body": "{\"message\":\"User does not exist or is not a public member of the organization\",\"documentation_url\":\"https://docs.github.com/rest/reference/orgs#check-public-organization-membership-for-a-user\"}", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:24 GMT", + "Date": "Fri, 04 Mar 2022 13:41:57 GMT", "Content-Type": "application/json; charset=utf-8", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4932", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "68", + "X-RateLimit-Remaining": "4985", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "15", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -32,10 +32,10 @@ "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D37C:8497:1AECE10:1C7E134:61410534" + "X-GitHub-Request-Id": "BA82:89C7:2E73C7E:2F45063:62221725" } }, - "uuid": "7488b850-7e4a-434a-9845-f70a0a34c8b6", + "uuid": "6fbabd7c-2d5d-41c8-ab59-4e84dbe2a23d", "persistent": true, - "insertionIndex": 14 + "insertionIndex": 15 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/teams_3451996_members_bitwiseman-6.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/teams_3451996_members_bitwiseman-6.json deleted file mode 100644 index dad19cfe6e..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/teams_3451996_members_bitwiseman-6.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "id": "dcad8a8b-7a83-45af-b949-ae546c03bedf", - "name": "teams_3451996_members_bitwiseman", - "request": { - "url": "/teams/3451996/members/bitwiseman", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 204, - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:23 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4940", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "60", - "X-RateLimit-Resource": "core", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "0", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D36C:4890:106C7D6:1154433:61410533", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "dcad8a8b-7a83-45af-b949-ae546c03bedf", - "persistent": true, - "insertionIndex": 6 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/teams_3451996_members_rtyler-13.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/teams_3451996_members_rtyler-13.json deleted file mode 100644 index fb7b7bf8b2..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/teams_3451996_members_rtyler-13.json +++ /dev/null @@ -1,44 +0,0 @@ -{ - "id": "f4c3fbc7-2328-41ce-84f4-2070ced65691", - "name": "teams_3451996_members_rtyler", - "request": { - "url": "/teams/3451996/members/rtyler", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 404, - "body": "{\"message\":\"Not Found\",\"documentation_url\":\"https://docs.github.com/rest\"}", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:24 GMT", - "Content-Type": "application/json; charset=utf-8", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "admin:org, read:org, repo, user, write:org", - "X-GitHub-Media-Type": "unknown, github.v3", - "Deprecation": "Sat, 01 Feb 2020 00:00:00 GMT", - "Sunset": "Mon, 01 Feb 2021 00:00:00 GMT", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4933", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "67", - "X-RateLimit-Resource": "core", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "0", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "Vary": "Accept-Encoding, Accept, X-Requested-With", - "X-GitHub-Request-Id": "D37A:6ED1:39DBAA:3CBD90:61410534", - "Link": "; rel=\"deprecation\"; type=\"text/html\", ; rel=\"alternate\"" - } - }, - "uuid": "f4c3fbc7-2328-41ce-84f4-2070ced65691", - "persistent": true, - "insertionIndex": 13 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/user-1.json deleted file mode 100644 index f3c9e733c7..0000000000 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/user-1.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "id": "b33552e9-9e4a-4b3a-9e88-d9d0da15d2b7", - "name": "user", - "request": { - "url": "/user", - "method": "GET", - "headers": { - "Accept": { - "equalTo": "application/vnd.github.v3+json" - } - } - }, - "response": { - "status": 200, - "bodyFileName": "user-1.json", - "headers": { - "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:22 GMT", - "Content-Type": "application/json; charset=utf-8", - "Cache-Control": "private, max-age=60, s-maxage=60", - "Vary": [ - "Accept, Authorization, Cookie, X-GitHub-OTP", - "Accept-Encoding, Accept, X-Requested-With" - ], - "ETag": "W/\"b99fd8b2d9f182dd9db22ffe796a92585ef33b37deb5017a070feecd0512e469\"", - "Last-Modified": "Tue, 14 Sep 2021 19:50:18 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", - "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", - "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4946", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "54", - "X-RateLimit-Resource": "core", - "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", - "X-Frame-Options": "deny", - "X-Content-Type-Options": "nosniff", - "X-XSS-Protection": "0", - "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", - "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D3C4:57F8:2A71B:2E32C:61410532" - } - }, - "uuid": "b33552e9-9e4a-4b3a-9e88-d9d0da15d2b7", - "persistent": true, - "insertionIndex": 1 -} \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_bitwiseman-2.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_bitwiseman-1.json similarity index 57% rename from src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_bitwiseman-2.json rename to src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_bitwiseman-1.json index e126dcee49..7eef6ae2dc 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_bitwiseman-2.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_bitwiseman-1.json @@ -1,5 +1,5 @@ { - "id": "6028e3cc-915c-4808-8020-a3f95419385e", + "id": "2c00c23d-7334-47de-af24-9b5f43d37d47", "name": "users_bitwiseman", "request": { "url": "/users/bitwiseman", @@ -12,25 +12,25 @@ }, "response": { "status": 200, - "bodyFileName": "users_bitwiseman-2.json", + "bodyFileName": "users_bitwiseman-1.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:22 GMT", + "Date": "Fri, 04 Mar 2022 13:41:54 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"b99fd8b2d9f182dd9db22ffe796a92585ef33b37deb5017a070feecd0512e469\"", - "Last-Modified": "Tue, 14 Sep 2021 19:50:18 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "ETag": "W/\"79452dc85e22e20e2c1974effe11f8a182ba986619b49c8edf6b66c8637be89d\"", + "Last-Modified": "Sat, 29 Jan 2022 06:17:50 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4944", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "56", + "X-RateLimit-Remaining": "4999", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "1", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -38,10 +38,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D364:55F0:112EAEF:1284CD9:61410532" + "X-GitHub-Request-Id": "BA66:B363:4D244B8:4E60CF7:62221722" } }, - "uuid": "6028e3cc-915c-4808-8020-a3f95419385e", + "uuid": "2c00c23d-7334-47de-af24-9b5f43d37d47", "persistent": true, - "insertionIndex": 2 + "insertionIndex": 1 } \ No newline at end of file diff --git a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_rtyler-11.json b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_rtyler-11.json index f4d8671931..4272c8fdef 100644 --- a/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_rtyler-11.json +++ b/src/test/resources/org/kohsuke/github/GHUserTest/wiremock/isMemberOf/mappings/users_rtyler-11.json @@ -1,5 +1,5 @@ { - "id": "9612754b-b224-4549-902b-4931e7b4420b", + "id": "6ae69aab-1adb-442a-9db9-a07a2e8337cd", "name": "users_rtyler", "request": { "url": "/users/rtyler", @@ -15,22 +15,22 @@ "bodyFileName": "users_rtyler-11.json", "headers": { "Server": "GitHub.com", - "Date": "Tue, 14 Sep 2021 20:25:24 GMT", + "Date": "Fri, 04 Mar 2022 13:41:56 GMT", "Content-Type": "application/json; charset=utf-8", "Cache-Control": "private, max-age=60, s-maxage=60", "Vary": [ "Accept, Authorization, Cookie, X-GitHub-OTP", "Accept-Encoding, Accept, X-Requested-With" ], - "ETag": "W/\"c23938c2ced08692261decc4011c5f7de685bc09cbf85c5d9bc918c4f21f4bfa\"", - "Last-Modified": "Fri, 13 Aug 2021 17:27:38 GMT", - "X-OAuth-Scopes": "admin:org, admin:org_hook, admin:public_key, admin:repo_hook, delete_repo, gist, notifications, repo, user, workflow, write:discussion", + "ETag": "W/\"73d0e3cb1a2d48d8ba8b50aea46c242c38c85d1e2fe80323a9fed360b6f1fd2b\"", + "Last-Modified": "Mon, 03 Jan 2022 20:12:07 GMT", + "X-OAuth-Scopes": "admin:gpg_key, admin:org, admin:org_hook, admin:public_key, admin:repo_hook, gist, notifications, repo, user, workflow, write:discussion", "X-Accepted-OAuth-Scopes": "", - "X-GitHub-Media-Type": "unknown, github.v3", + "X-GitHub-Media-Type": "github.v3; format=json", "X-RateLimit-Limit": "5000", - "X-RateLimit-Remaining": "4935", - "X-RateLimit-Reset": "1631652409", - "X-RateLimit-Used": "65", + "X-RateLimit-Remaining": "4989", + "X-RateLimit-Reset": "1646404914", + "X-RateLimit-Used": "11", "X-RateLimit-Resource": "core", "Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload", "X-Frame-Options": "deny", @@ -38,10 +38,10 @@ "X-XSS-Protection": "0", "Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin", "Content-Security-Policy": "default-src 'none'", - "X-GitHub-Request-Id": "D376:488A:1956F5:235F60:61410534" + "X-GitHub-Request-Id": "BA7A:03D4:32B8B3B:33C35E7:62221724" } }, - "uuid": "9612754b-b224-4549-902b-4931e7b4420b", + "uuid": "6ae69aab-1adb-442a-9db9-a07a2e8337cd", "persistent": true, "insertionIndex": 11 } \ No newline at end of file